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 methane, ncoghlan, rhettinger, serhiy.storchaka, xiang.zhang
Date 2016-11-08.12:55:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478609703.52.0.608470073659.issue28638@psf.upfronthosting.co.za>
In-reply-to
Content
One of problems with this patch is that it make instantiating a namedtuple much slower (due to parsing arguments by Python code). This can be solved by using eval() for creating only the __new__ method (see commented out line "result.__new__ = eval(...)"). This increases the time of creating named tuple class, but it still is faster than with current code.
History
Date User Action Args
2016-11-08 12:55:03serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ncoghlan, methane, xiang.zhang
2016-11-08 12:55:03serhiy.storchakasetmessageid: <1478609703.52.0.608470073659.issue28638@psf.upfronthosting.co.za>
2016-11-08 12:55:03serhiy.storchakalinkissue28638 messages
2016-11-08 12:55:03serhiy.storchakacreate