[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread E. Paine
Change by E. Paine : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks for testing! -- resolution: -> fixed stage: patch review -> resolved ___ Python tracker ___

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 7a27c7ed4b2b45bb9ea27d3f5c4f423495d6e939 by Ronald Oussoren in branch 'master': bpo-42351: Avoid error when opening header with non-UTF8 encoding (GH-23279) https://github.com/python/cpython/commit/7a27c7ed4b2b45bb9ea27d3f5c4f423495d6e939

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've created PR. Could you please check if that fixes the problem? -- ___ Python tracker ___

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Change by Ronald Oussoren : -- keywords: +patch pull_requests: +22173 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23279 ___ Python tracker ___

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-14 Thread Ronald Oussoren
Ronald Oussoren 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

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-13 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: I can also confirm the issue on our Arch Linux server [1]. The problematic file is also /usr/include/OMX_Other.h. Looks like it is a regression from https://github.com/python/cpython/pull/22855 (https://bugs.python.org/issue41100). Ronald Oussoren, mind to

[issue42351] Setup.py: UnicodeDecodeError in grep_headers_for

2020-11-13 Thread E. Paine
New submission from E. Paine : When compiling the master branch (i.e. running 'make'), I get a UnicodeDecodeError as follows: Traceback (most recent call last): File "/home/elisha/Documents/Python/cp0/cpython/./setup.py", line 2619, in main() File