[issue11638] python setup.py sdist --formats tar* crashes if version is unicode

Lars Gustäbel report at bugs.python.org
Wed Dec 21 10:15:06 CET 2011


Lars Gustäbel <lars at gustaebel.de> added the comment:

Is there a good reason why the tarfile mode that is used is "w|gz"? It seems to me that this is not necessary, "w:gz" should be enough. "w|gz" is for special operations only (see the tarfile docs).

----------
nosy: +lars.gustaebel
Added file: http://bugs.python.org/file24065/distutils_tarfile_fix.diff

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


More information about the Python-bugs-list mailing list