Given that

(1) dicts now always pay the price for ordering
(2) namedtuple is being accelerated

is there any reason not to simply define it as a view on a dict, or at
least as a limited proxy to one?

Then constructing a specific instance from the arguments used to
create it could be as simple as keeping a reference to the temporary
created to pass those arguments...

-jJ
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to