diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-04 10:35:47 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-04 10:35:47 +0300 |
commit | a0e6e67af6f05b81fe7575d4a372b2ea4b20fe46 (patch) | |
tree | fbba45546b1abbbce84d31477b0497d560134197 /ChangeLog | |
parent | a4e62fb0938f1fb737d0c4e7e36ec218e00e3972 (diff) | |
download | pylint-a0e6e67af6f05b81fe7575d4a372b2ea4b20fe46.tar.gz |
Allow a bare raise only inside an except clause.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ ChangeLog for Pylint * Add a new error, 'misplaced-bare-raise'. - The error is used when a bare raise is not used inside a try suite. + The error is used when a bare raise is not used inside an except clause. This can generate a RuntimeError in Python, if there are no active exceptions to be reraised. While it works in Python 2 due to the fact that the exception leaks outside of the except block, it's nevertheless a behaviour that |