[issue24056] Expose closure & generator status in function repr()

Nick Coghlan report at bugs.python.org
Sat May 2 17:29:47 CEST 2015


Nick Coghlan added the comment:

The main reason I suggest using the postfix parenthetical syntax is to make
it clear that we're exposing "behavioural feature flags" for a single
underlying type. A prefix syntax would make them look like distinct types,
which would be misleading in a different way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24056>
_______________________________________


More information about the Python-bugs-list mailing list