You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support try/except in partially defined check #13928
Currently, partially defined check (--enable-error-code partially-defined) does not support detecting partially defined variables try/except statement.
The most basic example is the following:
try:
x=foo()
except:
passy=x# mypy should generate an error here but does not.
@ilinum What is the situation here? I see there were no activity on the PR last week. We will probably start 1.0 release process in a week or so. I would like to announce this feature in the release, and it would be great if try/except is properly supported.
Activity
ilevkivskyi commentedon Dec 9, 2022
@ilinum What is the situation here? I see there were no activity on the PR last week. We will probably start 1.0 release process in a week or so. I would like to announce this feature in the release, and it would be great if
try/exceptis properly supported.JukkaL commentedon Dec 9, 2022
I can do another round of review and make some performance measurements.
[partially defined] implement support for try statements (#14114)