[issue9561] distutils: set encoding to utf-8 for input and output files
Éric Araujo
report at bugs.python.org
Thu Jun 30 17:08:32 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
> pkginfo_utf8.patch: distutils uses UTF-8 to write PKG-INFO and
> .egg-info, instead of the locale encoding. It should be applied to
> 2.7, 3.2 and 3.3.
Okay. I guess you’ll use codecs.open in 2.7; please make sure there is no bootstrapping issue for the build of CPython itself.
It would be a good thing to have non-ASCII in the PGK-INFO/METADATA files in the tests; it’s how we caught #12320.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9561>
_______________________________________
More information about the Python-bugs-list
mailing list