summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
Commit message (Expand)AuthorAgeFilesLines
* gh-98713: Use `@cpython_only` for a test that fails on PyPy (#98714)Nikita Sobolev2022-10-261-1/+2
* GH-87390: Add remaining tests for PEP 646 (#98267)Matthew Rahtz2022-10-251-191/+462
* Use more precise exception types in `assertRaises` in typing tests (#98650)Nikita Sobolev2022-10-251-3/+3
* typing tests: `_overload_dummy` raises `NotImplementedError`, not `RuntimeErr...Nikita Sobolev2022-10-201-1/+1
* gh-96784: Cover more typing special forms in `get_args()` (#96791)Nikita Sobolev2022-09-141-0/+27
* gh-96769: Cover more typing special forms to be unsubclassable (#96772)Nikita Sobolev2022-09-141-5/+43
* gh-96478: Fix new test when run in refleak mode (#96615)Jelle Zijlstra2022-09-061-12/+12
* gh-96478: Test `@overload` on C functions (#96479)Nikita Sobolev2022-09-051-0/+14
* GH-96079 Fix missing field name for _AnnotatedAlias (#96080)Anh71me2022-08-311-0/+1
* gh-95987: Fix `repr` of `Any` type subclasses (#96412)Nikita Sobolev2022-08-301-0/+6
* gh-96385: Correctly raise error on `[*T, *V]` substitution (GH-96386)Nikita Sobolev2022-08-301-0/+3
* gh-96357: Improve `typing.get_overloads` coverage (#96358)Nikita Sobolev2022-08-291-0/+3
* gh-94607: Fix subclassing generics (GH-94610)Ken Jin2022-07-091-0/+29
* gh-94245: Test pickling and copying of typing.Tuple[()] (GH-94259)Serhiy Storchaka2022-06-251-2/+4
* bpo-46642: Explicitly disallow subclassing of instaces of TypeVar, ParamSpec,...Gregory Beauregard2022-06-251-39/+68
* gh-91162: Support splitting of unpacked arbitrary-length tuple over TypeVar a...Serhiy Storchaka2022-06-121-7/+10
* gh-93345: Fix a crash in substitution of nested TypeVar after TypeVarTuple (G...Serhiy Storchaka2022-05-311-1/+7
* gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335)Serhiy Storchaka2022-05-081-106/+47
* gh-92261: Disallow iteration of Union (and other special forms) (GH-92262)Matthew Rahtz2022-05-081-0/+31
* gh-92107: Add tests that subscription works on arbitrary named tuple types (G...Serhiy Storchaka2022-05-041-0/+14
* bpo-44863: Allow generic typing.TypedDict (#27663)Samodya Abey2022-05-031-0/+136
* gh-91621: Fix typing.get_type_hints for collections.abc.Callable (#91656)Shantanu2022-05-021-0/+11
* bpo-43923: Add support for generic typing.NamedTuple (#92027)Serhiy Storchaka2022-05-021-0/+39
* gh-92106: Add test that subscription works on arbitrary TypedDicts (#92176)Serhiy Storchaka2022-05-021-0/+13
* bpo-43224: Implement substitution of unpacked TypeVarTuple in C (GH-31828)Serhiy Storchaka2022-04-301-24/+39
* gh-92064: Fix global variable name collision in test_typing (#92067)Dennis Sweeney2022-04-301-13/+13
* bpo-44791: Accept ellipsis as the last argument of typing.Concatenate (#30969)Serhiy Storchaka2022-04-291-8/+4
* gh-87390: Add tests demonstrating current type variable substitution behaviou...Matthew Rahtz2022-04-291-0/+387
* gh-91860: Add typing.dataclass_transform (PEP 681) (#91861)Jelle Zijlstra2022-04-261-0/+86
* gh-90633: Improve error and docs for typing.assert_never (#91720)Jelle Zijlstra2022-04-251-0/+13
* bpo-43224: Implement pickling of TypeVarTuples (#32119)Matthew Rahtz2022-04-221-1/+55
* gh-89263: Add typing.get_overloads (GH-31716)Jelle Zijlstra2022-04-161-4/+68
* bpo-43224: Add tests for TypeVarTuple substitution in Annotated (GH-31846)Matthew Rahtz2022-04-161-0/+71
* bpo-43224: Forbid TypeVar substitution with Unpack (GH-32031)Serhiy Storchaka2022-04-131-0/+14
* gh-91243: Add typing.Required and NotRequired (PEP 655) (GH-32419)Jelle Zijlstra2022-04-121-1/+173
* bpo-44807: Allow Protocol classes to define __init__ (GH-31628)Adrian Garcia Badaracco2022-04-111-0/+26
* bpo-47088: Add typing.LiteralString (PEP 675) (GH-32064)Jelle Zijlstra2022-04-051-1/+55
* bpo-46998: Allow subclassing Any at runtime (GH-31841)Shantanu2022-04-051-13/+15
* bpo-43224: Add TypeVarTuple.__name__ (GH-31954)Jelle Zijlstra2022-03-181-9/+6
* bpo-46981: Remove typing._TypingEmpty (GH-31836)Serhiy Storchaka2022-03-171-5/+3
* bpo-46480: add typing.assert_type (GH-30843)Jelle Zijlstra2022-03-171-1/+17
* bpo-46644: Fix test_typing test broken by GH-31151 due to a merge race (GH-31...Jelle Zijlstra2022-03-121-1/+1
* bpo-46644: Remove callable() requirement from typing._type_check (GH-31151)Gregory Beauregard2022-03-121-28/+4
* bpo-43224: Implement substitution of unpacked TypeVarTuple (GH-31800)Serhiy Storchaka2022-03-111-58/+85
* bpo-44796: Unify TypeVar and ParamSpec substitution (GH-31143)Serhiy Storchaka2022-03-111-20/+40
* bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-31061)Matt Bogosian2022-03-101-0/+21
* bpo-43224: Implement PEP 646 changes to typing.py (GH-31021)Matthew Rahtz2022-03-081-1/+431
* bpo-46170: Improve the error message when subclassing NewType (GH-30268)James Hilton-Balfe2022-03-081-0/+11
* bpo-41370: Evaluate strings as forward refs in PEP 585 generics (GH-30900)Niklas Rosenstein2022-03-071-2/+42
* Remove trailing spaces (GH-31695)Serhiy Storchaka2022-03-051-2/+2