Incorrect argument substitution on Unpack[tuple[...]] #118168
Labels
3.12
only security fixes
3.13
bugs and security fixes
topic-typing
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
In the code below, all of the prints should be equivalent:
However, the
Unpack[tuple[]]
variants print something different. This is because the implementation ofUnpack
doesn't deal correctly with builtin aliases. I'll send a PR.CPython versions tested on:
3.12, CPython main branch
Operating systems tested on:
macOS
Linked PRs
The text was updated successfully, but these errors were encountered: