Skip to content

do not catch system exceptions like KeyboardInterrupt - #509

Merged
minrk merged 1 commit into
ipython:masterfrom
albertz:patch-1
Apr 5, 2019
Merged

do not catch system exceptions like KeyboardInterrupt#509
minrk merged 1 commit into
ipython:masterfrom
albertz:patch-1

Conversation

@albertz

@albertz albertz commented Feb 1, 2019

Copy link
Copy Markdown
Contributor

You never should use except: in general. In this case, you probably do not want to catch exceptions like KeyboardInterrupt.

You never should use `except:` in general. In this case, you probably do not want to catch exceptions like `KeyboardInterrupt`.
@minrk
minrk merged commit 3eea7fc into ipython:master Apr 5, 2019
@minrk

minrk commented Apr 5, 2019

Copy link
Copy Markdown
Member

Good catch, thanks

@Carreau Carreau added this to the 5.0 milestone Jun 4, 2020
@Carreau Carreau added 5.0-re-review Need to re-review for potential API impact changes. 5.0-minor rereviewed, minor change need to be put in changelog. and removed 5.0-re-review Need to re-review for potential API impact changes. labels Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

5.0-minor rereviewed, minor change need to be put in changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants