[issue37144] tarfile.open: improper handling of path-like object

2019-06-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.6 only gets security patches. Thanks for testing with 3.7 also. -- nosy: +terry.reedy versions: +Python 3.9 -Python 3.6 ___ Python tracker ___

[issue37144] tarfile.open: improper handling of path-like object

2019-06-04 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was documented in c45cd167d403d7d98078d5fc4a37b16195dc7a35 but it seems a test for opening gzip file with 'w|gz' mode as in the original report was missing. -- nosy: +lars.gustaebel, serhiy.storchaka, xtreak versions: +Python 3.8

[issue37144] tarfile.open: improper handling of path-like object

2019-06-04 Thread Demid
Change by Demid : -- keywords: +patch pull_requests: +13703 stage: -> patch review pull_request: https://github.com/python/cpython/pull/13817 ___ Python tracker ___ __

[issue37144] tarfile.open: improper handling of path-like object

2019-06-04 Thread Demid
Change by Demid : -- nosy: +dm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailma

[issue37144] tarfile.open: improper handling of path-like object

2019-06-04 Thread Demid
Change by Demid : -- nosy: +zygocephalus -dm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue37144] tarfile.open: improper handling of path-like object

2019-06-03 Thread DM
New submission from DM : According to the documentation, tarfile.open accepts a path-like object since Python 3.6 However, it is not the case when writing a compressed gzip (w|gz). See the attached file for minimal POC Note 1: tested on 3.6 and 3.7 Note 2: https://docs.python.org/3.6/library/