Skip to content

bpo-43510: Fix emitting EncodingWarning from _io module. #25146

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
Apr 2, 2021

Conversation

methane
Copy link
Member

@methane methane commented Apr 2, 2021

I forget to check PyErr_WarnEx() return value. But it will fail when -Werror is used.

https://bugs.python.org/issue43510

I forget to check PyErr_WarnEx() return value. But it will fail when -Werror is used.
Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I didn't test your change.

@methane methane merged commit bec8c78 into python:master Apr 2, 2021
@methane methane deleted the fix-textio-encodingwarning branch April 2, 2021 08:39
sthagen added a commit to sthagen/python-cpython that referenced this pull request Apr 2, 2021
bpo-43510: Fix emitting EncodingWarning from _io module. (pythonGH-25146)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants