Skip to content

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