14 Aug
2014
14 Aug
'14
9:33 a.m.
On 08/14/2014 12:59 PM, Raymond Hettinger wrote:
I would really like for the annotations to grow some way to communicate exceptions as well as return types
I'd hate for exception typing to be compulsory, though, since that turned out to be extremely annoying in Java. It would be even worse in Python, since there's no branch of the exception hierarchy corresponding to Java's RuntimeError for things that can be raised from anywhere. -- Greg