summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-23 20:41:30 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-11-23 20:41:30 +0100
commit4b1a3c54b7430c4720d57cf0889992cbcc4485e6 (patch)
treea97a4ef4732272a95857cf6576f546b71814f990
parentee84cab6faa62adebf5122cbcef7bed919183f2b (diff)
downloadpylint-git-fix-elif-checker-crash.tar.gz
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 10adc3379..235c77d00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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