Antoine Pietri added the comment:

Actually, thinking about it, it seems safer to use os.open() + os.fdopen() than 
TemporaryFile(), like in the equivalent test for 'gzip'.

This new patch replaces last one.

----------
nosy: +seirl
Added file: http://bugs.python.org/file34740/test_tarfile_fdopen.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13781>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to