Skip to content

bpo-42351: Avoid error when opening header with non-UTF8 encoding #23279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2020

Conversation

ronaldoussoren
Copy link
Contributor

@ronaldoussoren ronaldoussoren commented Nov 14, 2020

grep_headers_for() would error out when a header contained
text that cannot be interpreted as UTF-8.

https://bugs.python.org/issue42351

grep_headers_for() would error out when a header contained
text that cannot be interpreted as UTF-8.
@E-Paine
Copy link
Contributor

E-Paine commented Nov 14, 2020

@ronaldoussoren this fix works perfectly. Thanks!

@yan12125
Copy link
Contributor

Thanks this patch also fixes building python for me!

@ronaldoussoren ronaldoussoren merged commit 7a27c7e into python:master Nov 14, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…thonGH-23279)

grep_headers_for() would error out when a header contained
text that cannot be interpreted as UTF-8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants