[issue21044] tarfile does not handle file .name being an int

Ezio Melotti report at bugs.python.org
Sat Apr 5 22:47:41 CEST 2014


Ezio Melotti 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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21044>
_______________________________________


More information about the Python-bugs-list mailing list