-
Notifications
You must be signed in to change notification settings - Fork 274
Closed
Labels
resolution: wontfixA valid issue that most likely won't be resolved for reasons described in the issueA valid issue that most likely won't be resolved for reasons described in the issue
Description
Should methods in stubs be allowed to declare that they can throw exceptions?
When Jukka and I discussed this, we came up with the syntax ideas
def f():
raise IOError()
raise EOFError()
and
def f():
typing.raises(IOError, EOFError)
OlegSchwann, worldmind, sgtlaugh, Eric-Arellano, earonesty and 11 more
Metadata
Metadata
Assignees
Labels
resolution: wontfixA valid issue that most likely won't be resolved for reasons described in the issueA valid issue that most likely won't be resolved for reasons described in the issue