[issue43923] Can't create generic NamedTuple as of py3.9
Julius Park added the comment: What about Protocol? It is possible to create a dataclass that is a protocol, so it would be nicer from a symmetry perspective to allow it on both dataclasses and NamedTuples. -- ___ Python tracker <https://bugs.python.org/issue43923> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40185] Refactor typing.NamedTuple
Change by Julius Park : -- nosy: +juliusgeo nosy_count: 5.0 -> 6.0 pull_requests: +29885 pull_request: https://github.com/python/cpython/pull/31779 ___ Python tracker <https://bugs.python.org/issue40185> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue43923] Can't create generic NamedTuple as of py3.9
Change by Julius Park : -- nosy: +juliusgeo nosy_count: 14.0 -> 15.0 pull_requests: +29884 pull_request: https://github.com/python/cpython/pull/31779 ___ Python tracker <https://bugs.python.org/issue43923> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com