[issue12386] packaging fails in install_distinfo when writing RESOURCES

Éric Araujo report at bugs.python.org
Fri Oct 14 17:10:44 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

I’ve reproduced the bug and fixed it by opening in text mode, following all other calls to open in the same file.  This should now work for ASCII paths and non-ASCII paths that use the same encoding as open’s default, but it’ll probably break with non-ASCII paths under a C locale, so I’ve opened #13178.

----------
nosy: +pmoore
resolution:  -> fixed
stage: needs patch -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list