Files
openide/python/testData/codeInsight/controlflow/WhileTrueBreakInsideExcept.py
Aleksandr.Govenkoandintellij-monorepo-bot 06a9b9bde5 PY-80421 PY-80471 PY-80824 PY-80550 false "unused variable" with for nested in if/else
PY-80564 Fp "Local variable might be referenced before assignment" when returning a comprehension in `try/except`

PY-80733 Fp "Local variable might be referenced before assignment" for `try/except` with a `break` inside a loop


Merge-request: IJ-MR-162320
Merged-by: Aleksandr Govenko <aleksandr.govenko@jetbrains.com>

GitOrigin-RevId: f3e5d76e1fb15e2951d395fa27768269e4d0cb8f
2025-05-14 12:15:56 +00:00

6 lines
100 B
Python

while True:
try:
foo = could_raise()
except IndexError:
break
print(foo)