2021-06-29 | Paul Boddie | file changeset files shortlog | Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality. |
paul@40 | 1 | def f(): |
paul@266 | 2 | return StopIteration |
paul@266 | 3 | |
paul@315 | 4 | print f() # __builtins__.exception.base.StopIteration |