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 avrahami.ben
Recipients avrahami.ben, levkivskyi, rectalogic, rhettinger, serhiy.storchaka
Date 2021-02-09.09:57:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612864626.56.0.487205262672.issue36517@roundup.psfhosted.org>
In-reply-to
Content
The patch PR blocks out a useful idiom: generic Nametuple

>>> class LLNode(NamedTuple, Generic[T]):
...     value :T
...     next: Optional[LLNode[T]]

I put forward that, at the least, NamedTuple should accept do-nothing bases like Generic.
History
Date User Action Args
2021-02-09 09:57:06avrahami.bensetrecipients: + avrahami.ben, rhettinger, serhiy.storchaka, levkivskyi, rectalogic
2021-02-09 09:57:06avrahami.bensetmessageid: <1612864626.56.0.487205262672.issue36517@roundup.psfhosted.org>
2021-02-09 09:57:06avrahami.benlinkissue36517 messages
2021-02-09 09:57:06avrahami.bencreate