Author nedbat
Recipients Windson Yang, docs@python, nedbat, orlnub123, pablogsal, serhiy.storchaka, steven.daprano, terry.reedy, vstinner, xtreak
Date 2018-11-03.21:31:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This seems like a confusion of two things: identifiers are lexical elements of the language.  Attributes are not limited to identifiers.

We could add to the docs for setattr: "The attribute name does not have to be a valid identifier."   I don't know what the language guarantees about what strings are valid as attribute names.
Date User Action Args
2018-11-03 21:31:25nedbatsetrecipients: + nedbat, terry.reedy, vstinner, steven.daprano, docs@python, serhiy.storchaka, pablogsal, Windson Yang, xtreak, orlnub123
2018-11-03 21:31:25nedbatsetmessageid: <>
2018-11-03 21:31:25nedbatlinkissue35105 messages
2018-11-03 21:31:25nedbatcreate