diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-23 20:41:30 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-11-23 20:41:30 +0100 |
commit | 4b1a3c54b7430c4720d57cf0889992cbcc4485e6 (patch) | |
tree | a97a4ef4732272a95857cf6576f546b71814f990 | |
parent | ee84cab6faa62adebf5122cbcef7bed919183f2b (diff) | |
download | pylint-git-fix-elif-checker-crash.tar.gz |
Add Changelogfix-elif-checker-crash
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -17,6 +17,11 @@ Release date: TBA * Fix ``install graphiz`` message which isn't needed for puml output format. +* Fix a crash in the ``check_elif`` extensions where an undetected ifs in comprehension + containing an if within a fstring resulted in a out of range error. The checker do not + rely on counting ifs anymore and use known ifs locations instead. It should not crash + on badly parsed ifs anymore. + * Fix ``simplify-boolean-expression`` when condition can be inferred as False. Closes #5200 |