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

Backport allowing passing an ellipsis as the last argument of Concatenate to 3.10 #110

Open
FasterSpeeding opened this issue Jan 23, 2023 · 1 comment
Labels

Comments

@FasterSpeeding
Copy link

FasterSpeeding commented Jan 23, 2023

python/cpython#30969 allowed and documented this behaviour for 3.11.

This seemingly can't be supported for <=3.9 according to #48 but changes made by python/cpython#30959 to the stdlib typing module lead to this behaviour erroring on later 3.10 releases when using typing_extensions.Concatenate.

@JelleZijlstra
Copy link
Member

This is now documented as a limitation at https://typing-extensions.readthedocs.io/en/latest/#Concatenate. If there is a reasonable way to fix it, I'd accept a PR.

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

No branches or pull requests

3 participants