summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
Commit message (Expand)AuthorAgeFilesLines
* gh-92106: Add test that subscription works on arbitrary TypedDicts (GH-92176)Miss Islington (bot)2022-05-031-0/+13
* bpo-46333: Honor `module` parameter in ForwardRef (GH-30536)Miss Islington (bot)2022-02-171-0/+12
* bpo-46685: cover `TypeError` of `ForwardRef(1)` in `test_typing` (GH-31223)Miss Islington (bot)2022-02-091-0/+4
* [3.9] bpo-46482: add a test for `typing.Annotation.__new__` (GH-30821) (GH-31...Miss Islington (bot)2022-02-011-0/+7
* bpo-46539: Pass status of special typeforms to forward references (GH-30926)Miss Islington (bot)2022-01-271-0/+14
* bpo-46529: increase coverage of `typing.Union.__repr__` method (GH-30911)Miss Islington (bot)2022-01-261-0/+9
* bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)Miss Islington (bot)2022-01-251-0/+8
* bpo-46437: remove useless `hasattr` from `test_typing` (GH-30704)Miss Islington (bot)2022-01-191-9/+7
* [3.9] bpo-46424: [typing] cover `Annotation[arg]` invalid usage in tests (GH-...Miss Islington (bot)2022-01-191-0/+4
* bpo-46345: Add a test case for implicit `Optional` class attribute (GH-30535)Miss Islington (bot)2022-01-131-0/+6
* [3.9] bpo-45679: Fix caching of multi-value typing.Literal (GH-29334) (GH-29342)Serhiy Storchaka2021-11-031-0/+2
* bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) (GH-28...Miss Islington (bot)2021-09-261-0/+13
* [3.9] bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) (GH-28561)Łukasz Langa2021-09-251-1/+17
* [3.9] bpo-45121: Fix RecursionError when calling Protocol.__init__ from a sub...Ken Jin2021-09-081-0/+11
* bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) (GH-27559)Miss Islington (bot)2021-08-021-0/+36
* [3.9] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (GH-27205)Ken Jin2021-07-171-0/+10
* [3.9] Revert "[3.9] bpo-38908: Fix issue when non runtime_protocol does not r...Ken Jin2021-05-121-8/+0
* [3.9] bpo-38908: Fix issue when non runtime_protocol does not raise TypeError...Ken Jin2021-05-121-0/+8
* bpo-42740: Fix get_args for PEP 585 collections.abc.Callable (GH-23963)Miss Islington (bot)2020-12-281-0/+5
* bpo-42059: Fix required/optional keys for TypedDict(..., total=False) (GH-227...Miss Islington (bot)2020-12-141-0/+4
* [3.9] bpo-42195: Ensure consistency of Callable's __args__ in collections.abc...kj2020-12-141-8/+0
* bpo-42345: Fix hash implementation of typing.Literal (GH-23383)Miss Islington (bot)2020-11-191-0/+5
* [3.9] bpo-42345: Fix three issues with typing.Literal parameters (GH-23294) (...Yurii Karabas2020-11-171-0/+25
* bpo-42233: Correctly repr GenericAlias when used with typing module (GH-23081)Miss Islington (bot)2020-11-071-0/+7
* bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (GH-21553)Miss Islington (bot)2020-07-261-0/+6
* bpo-39168: Remove the __new__ method of typing.Generic (GH-21327)Miss Islington (bot)2020-07-051-2/+0
* bpo-40397: Fix subscription of nested generic alias without parameters. (GH-2...Serhiy Storchaka2020-05-101-1/+12
* bpo-40389: Improve repr of typing.Optional (#19714)Vlad Serebrennikov2020-04-301-1/+1
* bpo-40443: Remove unused imports in tests (GH-19805)Victor Stinner2020-04-291-1/+1
* bpo-40398: Fix typing.get_args() for special generic aliases. (GH-19720)Serhiy Storchaka2020-04-271-2/+7
* bpo-40396: Support GenericAlias in the typing functions. (GH-19718)Serhiy Storchaka2020-04-261-1/+41
* bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616)HongWeipeng2020-04-201-0/+7
* bpo-40185: Refactor typing.NamedTuple (GH-19371)Serhiy Storchaka2020-04-081-17/+11
* bpo-39481: Implementation for PEP 585 (#18239)Guido van Rossum2020-04-071-9/+10
* bpo-40182: Remove the _field_types attribute of the NamedTuple class (GH-19368)Serhiy Storchaka2020-04-041-4/+2
* bpo-36517: Raise error on multiple inheritance with NamedTuple (GH-19363)Serhiy Storchaka2020-04-041-0/+7
* bpo-40086: Update/fix test_etree test case in test_typing (GH-19189)Furkan Önder2020-03-281-4/+2
* bpo-39627: Fix TypedDict totality check for inherited keys (#18503)Vlad Emelianov2020-02-131-0/+32
* bpo-39491: Merge PEP 593 (typing.Annotated) support (#18260)Jakub Stasiak2020-02-051-0/+234
* Better runtime TypedDict (GH-17214)Zac Hatfield-Dodds2019-11-241-0/+7
* bpo-37838: get_type_hints for wrapped functions with forward reference (GH-17...benedwards142019-11-211-0/+15
* bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641)Serhiy Storchaka2019-10-081-7/+21
* bpo-38191: Turn warnings into errors in NamedTuple() and TypedDict(). (GH-16238)Serhiy Storchaka2019-09-171-19/+8
* bpo-38191: Accept arbitrary keyword names in NamedTuple() and TypedDict(). (G...Serhiy Storchaka2019-09-171-0/+60
* bpo-37953: Fix deprecation warnings in test_typing (GH-16133)Zackery Spytz2019-09-141-2/+2
* bpo-37953: Fix ForwardRef hash and equality checks (GH-15400)plokmijnuhby2019-09-131-0/+116
* bpo-38008: Move builtin protocol whitelist to mapping instead of list (GH-15647)Divij Rajkumar2019-09-121-0/+8
* bpo-28556: Add a regression test to typing (GH-15396)Ivan Levkivskyi2019-08-221-0/+17
* closes bpo-33758: Skip test_get_type_hints_modules_forwardref. (GH-13977)Benjamin Peterson2019-06-111-2/+2
* bpo-29262: Add get_origin() and get_args() introspection helpers to typing (G...Ivan Levkivskyi2019-05-301-0/+37