[issue25205] setattr accepts invalid identifiers

eryksun report at bugs.python.org
Wed Sep 23 20:48:56 CEST 2015


eryksun added the comment:

Even MvL appears to slip up when he states "some may accept non-strings as attribute names". That would be pointless in a __setattr__ method since setattr / PyObject_SetAttr reject non-string values as 'names'.

----------

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


More information about the Python-bugs-list mailing list