[issue28638] Creating namedtuple is too slow to be used in common stdlib (e.g. functools)

Nick Coghlan report at bugs.python.org
Mon Nov 21 08:57:26 EST 2016


Nick Coghlan added the comment:

Ah, I had forgotten that Larry had already included Python support in Argument Clinic.

With the inline code auto-generated from the pure Python implementation, that addresses the main maintenance concerns I had. I did briefly wonder about the difficulties of bootstrapping Argument Clinic (since it uses functools), but that's already accounted for in the comment-based design of Argument Clinic itself (i.e. since the generated code is checked in, the previous iteration can be used to generate the updated one when the namedtuple template changes).

Raymond, how does this variant look to you?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28638>
_______________________________________


More information about the Python-bugs-list mailing list