[issue44098] Remove ParamSpec from __parameters__ of most typing generics

Guido van Rossum report at bugs.python.org
Tue Jul 27 10:17:59 EDT 2021


Guido van Rossum <guido at python.org> added the comment:

Yeah, but we shouldn't go out of our way to reject it. Especially since in 3.11 we'll likely have something equivalent to PEP 563 or PEP 649 (the SC is thinking deep about this right now) and either of those means that usually it won't be evaluated at all anyway (you'd have to call get_type_hints() with PEP 563, or use __annotations__ with the other).

----------

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


More information about the Python-bugs-list mailing list