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, serhiy.storchaka, vstinner
Date 2017-04-24.18:55:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The regression was added by the fix for issue26811. PR 1272 applies the alternate patch from issue26811. This doesn't harm the performance.

$ ./python.patched -m perf timeit -q --compare-to ./python.default -s "from collections import namedtuple; P = namedtuple('P', 'x y'); p = P(1, 2)" --duplicate 1000 "p.x"
Mean +- std dev: [python.default] 128 ns +- 7 ns -> [python.patched] 121 ns +- 7 ns: 1.05x faster (-5%)

I thought about tests, but I don't know what is the best place for them. Seems other environment variables that controls debug output are not tested too.
Date User Action Args
2017-04-24 18:55:59serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, orent
2017-04-24 18:55:59serhiy.storchakasetmessageid: <>
2017-04-24 18:55:59serhiy.storchakalinkissue30156 messages
2017-04-24 18:55:59serhiy.storchakacreate