Ethan Furman wrote:
I certainly don't expect the signature to change, but why is using a metaclass out? The use (or not) of a metaclass /is/ an implementation detail.

For me, the main benefit of using a metaclass would be that
it enables using normal class declaration syntax to define a
namedtuple. That's not just an implementation detail!

--
Greg
_______________________________________________
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