Skip to content

Conversation

@Gobot1234
Copy link
Contributor

@Gobot1234Gobot1234 commented Apr 9, 2023

>>> classZ(Generic[T, P]): ... ... >>> Z[int, [dict, float]] __main__.Z[int, [dict, float]]

Related to #102637

>>> class Z(Generic[T, P]): ... ... >>> Z[int, [dict, float]] __main__.Z[int, [dict, float]]
@Gobot1234
Copy link
ContributorAuthor

Should this be backported to 3.11? It doesn't look like the original fix was

@AlexWaygood
Copy link
Member

Good point

@AlexWaygoodAlexWaygood removed the needs backport to 3.11 only security fixes label Apr 9, 2023
Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably change it so that these REPL snippets are actually run as part of CPython's doctest suite. But that can wait.

@AlexWaygoodAlexWaygood merged commit ecad802 into python:mainApr 9, 2023
@Gobot1234Gobot1234 deleted the patch-1 branch April 9, 2023 22:12
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Apr 18, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docsDocumentation in the Doc dirskip issueskip newstopic-typing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@Gobot1234@AlexWaygood@bedevere-bot