[issue44791] Substitution of ParamSpec in Concatenate

Jelle Zijlstra report at bugs.python.org
Sat Feb 19 00:48:03 EST 2022


Jelle Zijlstra <jelle.zijlstra at gmail.com> added the comment:

I'm looking at https://github.com/python/cpython/pull/30969 and I'm not sure what the motivation for the change is. PEP 612 is quite precise here (https://www.python.org/dev/peps/pep-0612/#id1) and allows only a ParamSpec as the last argument to Concatenate.

What is the use case for using ... as the last argument? What should it mean to a static type checker?

----------

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


More information about the Python-bugs-list mailing list