[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/mailman/options/python-bugs-list/archive%40mail-archive.com



[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.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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/tarfile.html#tarfile.open

--
components: Library (Lib)
files: poc.py
messages: 344423
nosy: dm
priority: normal
severity: normal
status: open
title: tarfile.open: improper handling of path-like object
type: behavior
versions: Python 3.6, Python 3.7
Added file: https://bugs.python.org/file48386/poc.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com