summaryrefslogtreecommitdiffstats
path: root/Python/_warnings.c
diff options
context:
space:
mode:
authorGregory Beauregard <greg@greg.red>2022-01-27 03:11:51 (GMT)
committerGitHub <noreply@github.com>2022-01-27 03:11:51 (GMT)
commitced50051bb752a7c1e616f4b0c001f37f0354f32 (patch)
tree4a7aa2eaba20f2da05fdff0d31d58f48544ab9d5 /Python/_warnings.c
parent6b491b9dc0b0fdfd1f07ea4e2151236186d8e7e6 (diff)
downloadcpython-ced50051bb752a7c1e616f4b0c001f37f0354f32.zip
cpython-ced50051bb752a7c1e616f4b0c001f37f0354f32.tar.gz
cpython-ced50051bb752a7c1e616f4b0c001f37f0354f32.tar.bz2
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 'Python/_warnings.c')
0 files changed, 0 insertions, 0 deletions