[issue10419] distutils command build_scripts fails with UnicodeDecodeError
Arfrever Frehtes Taifersar Arahesis
report at bugs.python.org
Sun May 1 01:43:37 CEST 2011
Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA at GMail.Com> added the comment:
Apparently setuptools.command.easy_install.get_script_header() imports distutils.command.build_scripts.first_line_re and checks if this regex matches a str object, which results in TypeError. If breaking compatibility is not acceptable, then the surrogateescape patch should be applied.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10419>
_______________________________________
More information about the Python-bugs-list
mailing list