[issue44098] Remove ParamSpec from __parameters__ of most typing generics

Ken Jin report at bugs.python.org
Wed Jul 28 10:59:14 EDT 2021


Ken Jin <kenjin4096 at gmail.com> added the comment:

@Serhiy, could you please briefly describe what you are planning? I'm guessing you're generalizing for _TypeVarLike?

My main concern is that we should have as few differences between builtin and typing types as possible. typing.List is deprecated and set to remove in Python 3.13/14, so I'm hoping the transition will be fairly painless.

Originally, the builtin types supported ParamSpec, but I removed that in GH-25449 for various reasons listed in that PR.

----------

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


More information about the Python-bugs-list mailing list