mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 16:34:47 +01:00
News entry for no-bare-except
This commit is contained in:
parent
aace5d77c0
commit
38e931b82e
1 changed files with 15 additions and 0 deletions
15
news/no-bare-except.rst
Normal file
15
news/no-bare-except.rst
Normal file
|
@ -0,0 +1,15 @@
|
|||
**Added:** None
|
||||
|
||||
**Changed:** None
|
||||
|
||||
**Deprecated:** None
|
||||
|
||||
**Removed:** None
|
||||
|
||||
**Fixed:**
|
||||
|
||||
* Bare ``except:`` was replaced with ``except Exception`` to prevent
|
||||
accidentally catching utility exceptions such as KeyboardInterrupt, which
|
||||
caused unexpected problems like printing out the raw $PROMPT string.
|
||||
|
||||
**Security:** None
|
Loading…
Add table
Reference in a new issue