Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
methane merged 1 commit into
python:masterpython/cpython:masterfrom
methane:fix-textio-encodingwarningmethane/cpython:fix-textio-encodingwarningCopy head branch name to clipboard
Apr 2, 2021
Merged

bpo-43510: Fix emitting EncodingWarning from _io module.#25146
methane merged 1 commit into
python:masterpython/cpython:masterfrom
methane:fix-textio-encodingwarningmethane/cpython:fix-textio-encodingwarningCopy head branch name to clipboard

Conversation

@methane

@methane methane commented Apr 2, 2021

Copy link
Copy Markdown
Member

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.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.