[issue43923] Can't create generic NamedTuple as of py3.9

Alex Waygood report at bugs.python.org
Wed Mar 9 16:53:10 EST 2022


Alex Waygood <Alex.Waygood at Gmail.com> added the comment:

I agree with Jelle — a valid protocol cannot inherit from a concrete type, and the whole point of NamedTuple is that it creates a tuple subclass (and tuple is obviously a concrete type).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43923>
_______________________________________


More information about the Python-bugs-list mailing list