[issue9561] distutils: set encoding to utf-8 for input and output files
Éric Araujo
report at bugs.python.org
Sat Jul 2 16:32:32 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
>> Okay. I guess you’ll use codecs.open in 2.7
> Oh, Python 2.7... DistributionMetadata of distutils encodes most
> values to byte strings (get_xxx() methods calls self._encode_field).
I forgot that. No change is needed in 2.7.
> I checked, there is not bootstrap issue.
I was talking about bootstrapping if a change to use codecs was made.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9561>
_______________________________________
More information about the Python-bugs-list
mailing list