summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* [3.12] gh-118418: Use a default value for `type_params` in `typing._eval_type...Miss Islington (bot)2024-04-301-2/+2
* [3.12] gh-118168: Fix Unpack interaction with builtin aliases (GH-118169) (#1...Miss Islington (bot)2024-04-231-2/+3
* [3.12] gh-114053: Fix bad interaction of PEP-695, PEP-563 and ``get_type_hint...Alex Waygood2024-04-191-8/+27
* [3.12] gh-117521: Improve typing.TypeGuard docstring (GH-117522) (#117538)Miss Islington (bot)2024-04-041-11/+14
* [3.12] gh-117110: Fix subclasses of typing.Any with custom constructors (GH-1...Miss Islington (bot)2024-03-291-1/+1
* [3.12] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef ...Miss Islington (bot)2024-03-051-1/+1
* [3.12] gh-112281: Allow `Union` with unhashable `Annotated` metadata (GH-1122...Miss Islington (bot)2024-03-011-14/+31
* [3.12] gh-115570: Fix DeprecationWarnings in test_typing (#115571) (#115574)Jelle Zijlstra2024-02-161-2/+2
* [3.12] gh-115165: Fix `typing.Annotated` for immutable types (GH-115213) (#11...Miss Islington (bot)2024-02-091-1/+3
* [3.12] gh-113320: Reduce the number of dangerous `getattr()` calls when const...Alex Waygood2024-01-051-13/+26
* [3.12] gh-113255: Clarify docs for `typing.reveal_type` (GH-113286) (#113323)Miss Islington (bot)2023-12-201-2/+2
* [3.12] gh-112618: Make Annotated cache typed (#112619) (#112628)Alex Waygood2023-12-031-2/+7
* [3.12] gh-112509: Fix keys being present in both required_keys and optional_k...Miss Islington (bot)2023-11-291-5/+20
* [3.12] gh-112194: Convert more examples to doctests in `typing.py` (GH-112195...Miss Islington (bot)2023-11-171-31/+43
* [3.12] GH-112152: Fix typo in `typing.override` docstring (GH-112158) (#112162)Miss Islington (bot)2023-11-161-1/+1
* [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