summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* Improve assert_type phrasing (#104081)Shantanu2023-05-021-3/+4
* GH-103629: Update Unpack's repr in compliance with PEP 692 (#104048)Franek Magiera2023-05-011-1/+12
* GH-103699: Add `__orig_bases__` to various typing classes (#103698)Adrian Garcia Badaracco2023-04-231-2/+9
* gh-97797: Mention `__metadata__` in docstrings of `typing.{_AnnotatedAlias, A...Nikita Sobolev2023-04-101-0/+6
* gh-74690: Further optimise `typing._ProtocolMeta.__instancecheck__` (#103280)Alex Waygood2023-04-051-1/+1
* gh-74690: typing: Call `_get_protocol_attrs` and `_callable_members_only` at ...Alex Waygood2023-04-051-11/+14
* gh-74690: typing: Simplify and optimise `_ProtocolMeta.__instancecheck__` (#1...Alex Waygood2023-04-051-11/+3
* gh-102433: Use `inspect.getattr_static` in `typing._ProtocolMeta.__instancech...Alex Waygood2023-04-021-5/+21
* gh-74690: Micro-optimise `typing._get_protocol_attrs` (#103152)Alex Waygood2023-03-311-8/+12
* gh-74690: typing: Don't unnecessarily call `_get_protocol_attrs` twice in `_P...Alex Waygood2023-03-311-10/+21
* gh-88965: typing: fix type substitution of a list of types after initial `Pa...Nikita Sobolev2023-03-231-7/+26
* Add comments to `{typing,_collections_abc}._type_repr` about each other (#102...Nikita Sobolev2023-03-161-0/+3
* gh-102615: Use `list` instead of `tuple` in `repr` of paramspec (#102637)Nikita Sobolev2023-03-151-3/+4
* gh-101561: Add typing.override decorator (#101564)Steven Troxler2023-02-271-0/+41
* gh-101015: Fix `typing.get_type_hints` with unpacked `*tuple` (PEP 646) (#101...Nikita Sobolev2023-01-231-1/+4
* gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (...Steve Dower2023-01-131-2/+6
* Correct typo in typing.py (#100423)david-why2022-12-221-1/+1
* gh-99957: Add `frozen_default` parameter on `dataclass_transform` (#99958)Erik De Bonte2022-12-061-0/+4
* gh-98253: Break potential reference cycles in external code worsened by typin...Wenzel Jakob2022-11-301-3/+11
* gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec and Typ...Serhiy Storchaka2022-11-291-41/+30
* gh-98852: Fix subscription of type aliases (GH-98920)Serhiy Storchaka2022-11-011-0/+4
* GH-96079 Fix missing field name for _AnnotatedAlias (#96080)Anh71me2022-08-311-1/+4
* gh-95987: Fix `repr` of `Any` type subclasses (#96412)Nikita Sobolev2022-08-301-1/+3
* gh-96385: Correctly raise error on `[*T, *V]` substitution (GH-96386)Nikita Sobolev2022-08-301-1/+1
* docs: typing.Self, fix typo (GH-94771)Max Zhenzhera2022-07-121-1/+1
* gh-94607: Fix subclassing generics (GH-94610)Ken Jin2022-07-091-0/+3
* bpo-46642: Explicitly disallow subclassing of instaces of TypeVar, ParamSpec,...Gregory Beauregard2022-06-251-0/+12
* gh-89828: Do not relay the __class__ attribute in GenericAlias (#93754)Serhiy Storchaka2022-06-181-1/+1
* gh-91162: Support splitting of unpacked arbitrary-length tuple over TypeVar a...Serhiy Storchaka2022-06-121-64/+46
* gh-91860: documentation for typing.dataclass_transform (#92768)Shantanu2022-05-201-7/+10
* Add `__slots__` to `typing._NotIterable` (GH-92570)Alex Waygood2022-05-101-0/+1
* gh-91162: Fix substitution of unpacked tuples in generic aliases (GH-92335)Serhiy Storchaka2022-05-081-24/+52
* gh-92261: Disallow iteration of Union (and other special forms) (GH-92262)Matthew Rahtz2022-05-081-5/+20
* bpo-44863: Allow generic typing.TypedDict (#27663)Samodya Abey2022-05-031-4/+11
* gh-91621: Fix typing.get_type_hints for collections.abc.Callable (#91656)Shantanu2022-05-021-3/+23
* bpo-43923: Add support for generic typing.NamedTuple (#92027)Serhiy Storchaka2022-05-021-4/+13
* bpo-43224: Implement substitution of unpacked TypeVarTuple in C (GH-31828)Serhiy Storchaka2022-04-301-3/+7
* bpo-44791: Accept ellipsis as the last argument of typing.Concatenate (#30969)Serhiy Storchaka2022-04-291-5/+2
* gh-91860: Add typing.dataclass_transform (PEP 681) (#91861)Jelle Zijlstra2022-04-261-0/+79
* gh-90633: Improve error and docs for typing.assert_never (#91720)Jelle Zijlstra2022-04-251-1/+7
* bpo-43224: Implement pickling of TypeVarTuples (#32119)Matthew Rahtz2022-04-221-6/+19
* gh-89263: Add typing.get_overloads (GH-31716)Jelle Zijlstra2022-04-161-0/+34
* bpo-43224: Add tests for TypeVarTuple substitution in Annotated (GH-31846)Matthew Rahtz2022-04-161-0/+14
* bpo-43224: Forbid TypeVar substitution with Unpack (GH-32031)Serhiy Storchaka2022-04-131-0/+2
* gh-91243: Add typing.Required and NotRequired (PEP 655) (GH-32419)Jelle Zijlstra2022-04-121-4/+59
* bpo-44807: Allow Protocol classes to define __init__ (GH-31628)Adrian Garcia Badaracco2022-04-111-1/+2
* bpo-47088: Add typing.LiteralString (PEP 675) (GH-32064)Jelle Zijlstra2022-04-051-1/+30
* bpo-46998: Allow subclassing Any at runtime (GH-31841)Shantanu2022-04-051-4/+17
* bpo-43224: Implement PEP 646 grammar changes (GH-31018)Matthew Rahtz2022-03-261-1/+10
* bpo-46480: rephrase typing.assert_type docs (GH-32069)Shantanu2022-03-241-1/+1