2019-02-04 | Paul Boddie | file changeset files shortlog | Optimised __BOOL to test for integers and to return int values directly. For other value types, __VALUE need not be called once integers have been excluded, and so the attrvalue member can be accessed directly. |
paul@40 | 1 | def f(): |
paul@266 | 2 | return StopIteration |
paul@266 | 3 | |
paul@315 | 4 | print f() # __builtins__.exception.base.StopIteration |