[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

Ronald Oussoren report at bugs.python.org
Sat Nov 14 04:34:25 EST 2020


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

That's annoying. A quick workaround is to patch setup.py:get_headers_for and add "encoding='latin1'" to the arguments of open.

I'll look into a better fix later this weekend.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42351>
_______________________________________


More information about the Python-bugs-list mailing list