This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients orent, rhettinger, serhiy.storchaka, vstinner
Date 2017-04-25.06:16:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Removing this micro-optimization makes attribute access in namedtuple more than 1.5 times slower:

Mean +- std dev: [python.default] 126 ns +- 4 ns -> [python] 200 ns +- 7 ns: 1.58x slower (+58%)

This would be a significant regression.
Date User Action Args
2017-04-25 06:16:21serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, vstinner, orent
2017-04-25 06:16:21serhiy.storchakasetmessageid: <>
2017-04-25 06:16:21serhiy.storchakalinkissue30156 messages
2017-04-25 06:16:20serhiy.storchakacreate