[issue28797] Modifying class __dict__ inside __set_name__
Nick Coghlan
report at bugs.python.org
Tue Nov 29 01:56:30 EST 2016
Nick Coghlan added the comment:
Ah, I'd missed that.
In that case, I think my suggestion to change the name of the local variable is still valid, while the specific approach just needs a comment saying it's handled as a full namespace snapshot so the descriptor type name can be reported in any error messages.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28797>
_______________________________________
More information about the Python-bugs-list
mailing list