Author rhettinger
Recipients rhettinger
Date 2018-01-04.18:05:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Attribute access for named tuples can be made as fast as attribute access of instances of classes with slots.  All that is needed is a C subclass of property with it own __get__ that directly look's up the tuple field using PyTuple_GET_ITEM using an index stored in a C struct rather than as an integer object.
Date User Action Args
2018-01-04 18:05:43rhettingersetrecipients: + rhettinger
2018-01-04 18:05:43rhettingersetmessageid: <>
2018-01-04 18:05:43rhettingerlinkissue32492 messages
2018-01-04 18:05:43rhettingercreate