[issue9561] distutils: set encoding to utf-8 for input and output files

STINNER Victor report at bugs.python.org
Thu Jun 30 16:54:50 CEST 2011

STINNER Victor <victor.stinner at haypocalc.com> 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.

packaging_pkginfo_utf8.patch: packaging tests use UTF-8 to write PKG-INFO files, instead of the locale encoding (cosmetic change, the file content is an empty string :-)). It should only be applied to 3.3 (packaging has been introduced in Python 3.3).

keywords: +patch
versions:  -Python 3.1
Added file: http://bugs.python.org/file22523/pkginfo_utf8.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list