[issue14029] When using setattr identifiers can start with any character

2012-02-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: It's not a bug. The specification of identifiers refers only to the places where they appear in the language grammar, i.e. what you can put into source code. What parameters objects accept in __setattr__ is an entirely different question. Some objects may ch

[issue14029] When using setattr identifiers can start with any character

2012-02-16 Thread Lyudmil Nenov
New submission from Lyudmil Nenov : I am not sure if this is actually a bug. Given documentation @ http://docs.python.org/release/2.5.2/ref/identifiers.html, the issue is that setattr does not appear to check identifier for naming convention. See a short example below. Running on windows >>