Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recursive use of Concatenate when mixing modules #512

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Daraan
Copy link
Contributor

@Daraan Daraan commented Nov 27, 2024

Fixes that this code sample throws an error for 3.10:

P = ParamSpec("P")
typing_extensions.Concatenate[int, P][typing.Concatenate[int, P]]

TypeError: The last parameter to Concatenate should be a ParamSpec variable or ellipsis.

@JelleZijlstra
Copy link
Member

Thanks, could you add a changelog entry? Something like "Fix errors on Python 3.10 when typing.Concatenate and typing_extensions.Concatenate are used together."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants