summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
...
* gh-104943: Remove mentions of old Python versions (#104945)Tomas R2023-05-261-4/+1
* gh-104786: Remove kwargs-based TypedDict creation (#104891)Tomas R2023-05-251-17/+2
* gh-104935: typing: Fix interactions between `@runtime_checkable` and `Generic...Jelle Zijlstra2023-05-251-3/+3
* gh-104797: Allow Protocols to inherit from collections.abc.Buffer (#104827)Jelle Zijlstra2023-05-241-1/+1
* gh-92871: Remove typing.{io,re} namespaces (#92873)Sebastian Rittau2023-05-231-42/+1
* Improve readability of `typing._ProtocolMeta.__instancecheck__` (#104649)Alex Waygood2023-05-191-13/+14
* gh-74690: Don't set special protocol attributes on non-protocol subclasses of...Alex Waygood2023-05-181-6/+7
* gh-104555: Runtime-checkable protocols: Don't let previous calls to `isinstan...Alex Waygood2023-05-171-7/+13
* typing: Use PEP 695 syntax in typing.py (#104553)Jelle Zijlstra2023-05-171-11/+17
* gh-104555: Fix isinstance() and issubclass() for runtime-checkable protocols ...Alex Waygood2023-05-161-1/+1
* gh-103763: Implement PEP 695 (#103764)Jelle Zijlstra2023-05-161-421/+170
* gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424)Alex Waygood2023-05-131-24/+3
* gh-104415: Fix refleak tests for `typing.ByteString` deprecation (#104416)Nikita Sobolev2023-05-121-0/+9
* gh-91896: Improve visibility of `ByteString` deprecation warnings (#104294)Alex Waygood2023-05-121-1/+31
* gh-104392: Remove _paramspec_tvars from typing (#104393)Jelle Zijlstra2023-05-111-13/+6
* gh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message ...Kirill Podoprigora2023-05-091-1/+1
* 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