mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
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
6 lines
100 B
Python
6 lines
100 B
Python
while True:
|
|
try:
|
|
foo = could_raise()
|
|
except IndexError:
|
|
break
|
|
print(foo) |