diff options
author | Gregory Beauregard <greg@greg.red> | 2022-03-12 01:12:17 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 01:12:17 (GMT) |
commit | 870b22b9c442d035190d2b8fb82256cd9a03da48 (patch) | |
tree | 3904e98b9a417ba9f7b642bff511ff7178568320 /Misc/NEWS.d/next | |
parent | a89c29fbcc7e7e85848499443d819c3fab68c78a (diff) | |
download | cpython-870b22b9c442d035190d2b8fb82256cd9a03da48.zip cpython-870b22b9c442d035190d2b8fb82256cd9a03da48.tar.gz cpython-870b22b9c442d035190d2b8fb82256cd9a03da48.tar.bz2 |
bpo-46644: Remove callable() requirement from typing._type_check (GH-31151)
We also remove all the tests that check for integer literals.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-02-05-22-14-44.bpo-46644.P--1Cz.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-02-05-22-14-44.bpo-46644.P--1Cz.rst b/Misc/NEWS.d/next/Library/2022-02-05-22-14-44.bpo-46644.P--1Cz.rst new file mode 100644 index 0000000..25a999f --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-02-05-22-14-44.bpo-46644.P--1Cz.rst @@ -0,0 +1 @@ +No longer require valid typeforms to be callable. This allows :data:`typing.Annotated` to wrap :data:`typing.ParamSpecArgs` and :data:`dataclasses.InitVar`. Patch by Gregory Beauregard. |