diff options
author | David Liu <david@cs.toronto.edu> | 2021-08-03 15:41:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-03 21:41:48 +0200 |
commit | 741276e90a3698c8bf5ac621669453b67b7c2c7c (patch) | |
tree | 799568cc20e0b57bacdd4a432e5356ab38be11ed /doc | |
parent | 85b69c9cafbfb59f57da58699a7634d6dfe968de (diff) | |
download | pylint-git-741276e90a3698c8bf5ac621669453b67b7c2c7c.tar.gz |
Fix false negative for used-before-assignment (ExceptHandler) (#4791)
* Fix false negative for used-before-assignment (ExceptHandler)
Closes #626.
* Fix unused-variable check for exception variables
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2.10.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/whatsnew/2.10.rst b/doc/whatsnew/2.10.rst index 3fea2d811..52d05507a 100644 --- a/doc/whatsnew/2.10.rst +++ b/doc/whatsnew/2.10.rst @@ -61,3 +61,8 @@ Other Changes Closes #3249 Closes #3608 Closes #4346 + +* Fix false negative for ``used-before-assignment`` when the variable is assigned + in an exception handler, but used outside of the handler. + + Closes #626 |