Author roysmith
Recipients Windson Yang, chris.jerdonek, docs@python, nedbat, orlnub123, pablogsal, rhettinger, roysmith, serhiy.storchaka, steven.daprano, terry.reedy, vstinner, xtreak
Date 2020-07-02.21:26:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Just as another edge case, type() can do the same thing:

Foo = type("Foo", (object,), {"a b": 1})
f = Foo()

for example, will create a class attribute named "a b".  Maybe this actually calls setattr() under the covers, but if it's going to be documented, it should be noted in both places.
Date User Action Args
2020-07-02 21:27:00roysmithsetrecipients: + roysmith, rhettinger, terry.reedy, vstinner, nedbat, steven.daprano, chris.jerdonek, docs@python, serhiy.storchaka, pablogsal, Windson Yang, xtreak, orlnub123
2020-07-02 21:26:59roysmithsetmessageid: <>
2020-07-02 21:26:59roysmithlinkissue35105 messages
2020-07-02 21:26:59roysmithcreate