Skip to content

bpo-37035: Don't log OSError#13548

Merged
miss-islington merged 4 commits intopython:masterfrom
asvetlov:asyncio-skip-oserror-logging
May 27, 2019
Merged

bpo-37035: Don't log OSError#13548
miss-islington merged 4 commits intopython:masterfrom
asvetlov:asyncio-skip-oserror-logging

Conversation

@asvetlov
Copy link
Copy Markdown
Contributor

@asvetlov asvetlov commented May 24, 2019

@asvetlov
Copy link
Copy Markdown
Contributor Author

ready for review

Comment thread Misc/NEWS.d/next/Library/2019-05-24-18-16-07.bpo-37035.HFbJVT.rst Outdated
Comment thread Misc/NEWS.d/next/Library/2019-05-24-18-16-07.bpo-37035.HFbJVT.rst
Copy link
Copy Markdown
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

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

Please consider fixing the NEWS entry as I suggested

@asvetlov
Copy link
Copy Markdown
Contributor Author

I've updated NEWS.
Is it ok now?

@1st1
Copy link
Copy Markdown
Member

1st1 commented May 27, 2019

Is it ok now?

Yeah, thanks. This will make the what's new editor life easier.

@miss-islington miss-islington merged commit 1f39c28 into python:master May 27, 2019
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @asvetlov for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

@miss-islington
Copy link
Copy Markdown
Contributor

Sorry, @asvetlov, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 1f39c28e489cca0397fc4c3675d13569318122ac 3.7

@miss-islington miss-islington self-assigned this May 27, 2019
@1st1
Copy link
Copy Markdown
Member

1st1 commented May 27, 2019

@asvetlov You sure it's a good idea to backport this to 3.7? I wouldn't do that in a point release.

@asvetlov
Copy link
Copy Markdown
Contributor Author

It is just logging.
No behavior changing.
If you strongly disagree I'll skip the backporting.
My motivation is that: now Python 3.7 users have their logs spammed with annoying messages. Applying this PR to 3.7 can help them a lot.
Now the only recommendation is loop.set_exception_handler(lambda loop, ctx: None) which is terrible.

@1st1
Copy link
Copy Markdown
Member

1st1 commented May 27, 2019

Applying this PR to 3.7 can help them a lot.

OK; if you think so.

@bedevere-bot
Copy link
Copy Markdown

GH-13594 is a backport of this pull request to the 3.7 branch.

asvetlov added a commit to asvetlov/cpython that referenced this pull request May 27, 2019
@asvetlov asvetlov deleted the asyncio-skip-oserror-logging branch May 27, 2019 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants