[issue25205] setattr accepts invalid identifiers

eryksun report at bugs.python.org
Mon Sep 21 23:51:15 CEST 2015


eryksun added the comment:

To clarify using a unicode name in 2.x, it has to be encodable using the default encoding, sys.getdefaultencoding(). Normally this is ASCII.

----------

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


More information about the Python-bugs-list mailing list