[issue21205] Add __qualname__ attribute to Python generators and change default __name__

Antoine Pitrou report at bugs.python.org
Mon Jun 16 16:26:48 CEST 2014


Antoine Pitrou added the comment:

Le 16/06/2014 10:20, STINNER Victor a écrit :
>
> What do you think for Python 2.7 and 3.4: would you be ok to change
also the generator name? I can write a patch which adds a new gi_name
but the name would not be modifiable to limit the incompatible changes.

I don't think it is worthwhile.

----------

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


More information about the Python-bugs-list mailing list