From a0e6e67af6f05b81fe7575d4a372b2ea4b20fe46 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Fri, 4 Sep 2015 10:35:47 +0300 Subject: Allow a bare raise only inside an except clause. --- ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 8678b84..e969f62 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 -- cgit v1.2.1