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 josh.r, martin.panter, python-dev, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-04-29.06:22:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461910925.18.0.142683144702.issue26822@psf.upfronthosting.co.za>
In-reply-to
Content
Upon closer inspection, redefine _PyArg_NoKeywords as a macro turned out to be not such a good idea. Other use of _PyArg_NoKeywords are in __new__ and __init__ methods. Create these objects in most cases (except may be slice) is performance critical operation than calling itemgetter, attrgetter or methodcaller object. It is better to add this microoptimization on cases (set and frozenset already have it).
History
Date User Action Args
2016-04-29 06:22:05serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, python-dev, martin.panter, josh.r, xiang.zhang
2016-04-29 06:22:05serhiy.storchakasetmessageid: <1461910925.18.0.142683144702.issue26822@psf.upfronthosting.co.za>
2016-04-29 06:22:05serhiy.storchakalinkissue26822 messages
2016-04-29 06:22:04serhiy.storchakacreate