diff options
author | Gregory Beauregard <greg@greg.red> | 2022-01-26 19:11:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 19:11:51 -0800 |
commit | ced50051bb752a7c1e616f4b0c001f37f0354f32 (patch) | |
tree | 4a7aa2eaba20f2da05fdff0d31d58f48544ab9d5 /Lib/idlelib/mainmenu.py | |
parent | 6b491b9dc0b0fdfd1f07ea4e2151236186d8e7e6 (diff) | |
download | cpython-ced50051bb752a7c1e616f4b0c001f37f0354f32.tar.gz cpython-ced50051bb752a7c1e616f4b0c001f37f0354f32.zip |
bpo-46539: Pass status of special typeforms to forward references (GH-30926)
Previously this didn't matter because there weren't any valid code paths
that could trigger a type check with a special form, but after the bug
fix for `Annotated` wrapping special forms it's now possible to annotate
something like `Annotated['ClassVar[int]', (3, 4)]`. This change would
also be needed for proposed future changes, such as allowing `ClassVar`
and `Final` to nest each other in dataclasses.
Diffstat (limited to 'Lib/idlelib/mainmenu.py')
0 files changed, 0 insertions, 0 deletions