summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* [3.12] gh-105974: Revert unintentional behaviour change for protocols with no...Miss Islington (bot)2023-06-231-32/+33
* [3.12] Miscellaneous improvements to the typing docs (GH-105529) (#105567)Miss Islington (bot)2023-06-091-6/+6
* [3.12] Further improve docs for `typing.Annotated` (GH-105498) (#105503)Miss Islington (bot)2023-06-081-6/+8
* [3.12] typing: Improve documentation of generic classes and aliases (GH-10536...Miss Islington (bot)2023-06-071-3/+5
* [3.12] gh-105430: Remove `typing._Immutable` unused internal helper (GH-10543...Miss Islington (bot)2023-06-071-11/+0
* [3.12] gh-105286: Further improvements to `typing.py` docstrings (GH-105363) ...Miss Islington (bot)2023-06-071-25/+43
* [3.12] gh-105286: Improve `typing.py` docstrings (#105287) (#105319)Alex Waygood2023-06-051-220/+253
* [3.12] gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always eva...Miss Islington (bot)2023-06-051-8/+20
* [3.12] gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (GH-10...Miss Islington (bot)2023-06-051-0/+4
* [3.12] gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_...Miss Islington (bot)2023-05-311-19/+15
* [3.12] gh-104943: Remove mentions of old Python versions (GH-104945) (#104963)Miss Islington (bot)2023-05-261-4/+1
* [3.12] gh-104935: typing: Fix interactions between `@runtime_checkable` and `...Miss Islington (bot)2023-05-251-3/+3
* [3.12] gh-104797: Allow Protocols to inherit from collections.abc.Buffer (GH-...Miss Islington (bot)2023-05-241-1/+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