[issue44791] Substitution of ParamSpec in Concatenate

Serhiy Storchaka report at bugs.python.org
Thu Jan 27 16:09:26 EST 2022


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

PR 27518 fixes a substitution of a ParamSpec variable with a Concatenate nad a list of types. It is not specified explicitly in PEP 612, but it does not contradict it.

PR 30969 makes an ellipsis be valid as the last argument of Concatenate to fix a substitution of a ParamSpec variable with an ellipsis. It contradicts with PEP 612 which allows only a ParamSpec variable there.

----------

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


More information about the Python-bugs-list mailing list