You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PEP 646 has been accepted for inclusion in Python 3.11. Both pyre and pyright support it currently.
Third-party libraries and typeshed stubs will probably avoid using this functionality until mypy offers some level of support for it.
Perhaps as a first step, mypy could implement a minimal understanding of TypeVarTuple, Unpack, and the new grammar change for *? This would allow libraries to start using the new facilities without generating false positive errors in mypy. This is a similar approach to the one for PEP 612 (ParamSpec) and PEP 634 (structural pattern matching).
@jhance: I thought about giving it a try but then realised you already did a lot of work (at least #13105, #13210, #13211, #13586, #13889) that has been merged. Is there still much to do where others could help?
Hi all,
Do we have a list of things left to implement to support PEP 646 fully?
Reacted by Alexander Comerford, Maciej Andrzej Świętochowski, Jack McIvor, Ulrik Røsby, Henrik Bakken, jgarvin, Carlos Ramos Carreño and John Hagen
Reacted by Rory Byrne, buster-blue, Joren Hammudoglu, Neil Girdhar, Ulrik Røsby, Juniormin123, Jasha Sommer-Simpson, Pedro Fonini, Jakub Kaczmarzyk, Christopher Ariza and 1 more
Activity
tyralla commentedon Nov 18, 2022
@jhance: I thought about giving it a try but then realised you already did a lot of work (at least #13105, #13210, #13211, #13586, #13889) that has been merged. Is there still much to do where others could help?
uriyyo commentedon Feb 6, 2023
Hi all,
Do we have a list of things left to implement to support PEP 646 fully?
vavanade commentedon Oct 11, 2023
What's the current state on this?
AlexWaygood commentedon Oct 11, 2023
See #16242 (comment)
Lordfirespeed commentedon Oct 24, 2023
With #16242 merged, is this issue resolved?
Enable Unpack/TypeVarTuple support (#16354)
Resolve some warnings per python/mypy#12280