[issue3574] compile() cannot decode Latin-1 source encodings
Brett Cannon
report at bugs.python.org
Sun Aug 17 03:56:37 CEST 2008
Brett Cannon <brett at python.org> added the comment:
Here is a potential fix. It broke test_imp because it assumed that
Latin-1 source files would be encoded at Latin-1 instead of UTF-8 when
returned by imp.new_module(). Doesn't seem like a critical change as the
file is still properly decoded.
----------
keywords: +patch
Added file: http://bugs.python.org/file11130/fix_latin.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3574>
_______________________________________
More information about the Python-bugs-list
mailing list