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
bpo-30624 / selectors: use bare except clause #2082
Conversation
…fd in a bad state in case of error
|
@giampaolo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @cf-natali, @1st1 and @serhiy-storchaka to be potential reviewers. |
|
Merging now so we can get this into the release candidate. |
|
Needs a backport to 3.6. |
| @@ -350,6 +350,10 @@ Extension Modules | |||
| Library | |||
| ------- | |||
|
|
|||
| - bpo-30624: selectors does not take KeyboardInterrupt and SystemExit into | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not SystemExit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not? SystemExit is not a subclass of Exception.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. My mistake.
What about it? |
|
Sorry, I though you fixed first two occurrences of "except Exception", but actually the 1st and the 3rd are fixed. |
I see that on 3.6 |
|
[For posterity, and note to myself] Oh, I see now what happened. Before #1035 this code was simpler and did have |
|
@giampaolo There is still a |
|
It can be deleted. |


References http://bugs.python.org/issue30624.