Skip to content

bpo-42010: Prevent generic types from being indexed#22667

Closed
Fidget-Spinner wants to merge 3 commits into
python:masterfrom
Fidget-Spinner:fix-genericalias-indexing
Closed

bpo-42010: Prevent generic types from being indexed#22667
Fidget-Spinner wants to merge 3 commits into
python:masterfrom
Fidget-Spinner:fix-genericalias-indexing

Conversation

@Fidget-Spinner

@Fidget-Spinner Fidget-Spinner commented Oct 12, 2020

Copy link
Copy Markdown
Member

Tested working on WIndows 10. I ran the whole test suite and other than some locale tests failing (which are expected and have been reported before), everything seems fine.

This probably needs a backport to 3.9. Though I'm unsure if an issue is required since it doesn't seem like a big change, rather it keeps consistency with previous python versions.

https://bugs.python.org/issue42010

@Fidget-Spinner Fidget-Spinner changed the title bpo-42010: Prevent GenericAlias types from being indexed bpo-42010: Prevent generic types from being indexed Oct 12, 2020
@Fidget-Spinner
Fidget-Spinner marked this pull request as draft October 12, 2020 09:59
Comment thread Lib/test/test_genericalias.py Outdated
@Fidget-Spinner

Copy link
Copy Markdown
Member Author

Due to the fact that integer variadics are in the works, and I've yet to find empirical evidence that people are getting confused, I'm closing this issue.

@Fidget-Spinner
Fidget-Spinner deleted the fix-genericalias-indexing branch October 20, 2020 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants