summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* [3.13] gh-114053: Fix another edge case involving `get_type_hints`, PEP 695 a...Miss Islington (bot)2024-06-251-7/+16
* [3.13] Rename typing._collect_parameters (GH-118900) (#118917)Miss Islington (bot)2024-05-101-7/+17
* [3.13] gh-118772: Allow TypeVars without a default to follow those with a def...Miss Islington (bot)2024-05-081-10/+15
* gh-118660: Add second type parameter to (Async)ContextManager (#118681)Jelle Zijlstra2024-05-071-1/+1
* gh-118418: Deprecate failing to pass a value to the *type_params* parameter o...Alex Waygood2024-05-071-11/+30
* gh-118647: Add defaults to typing.Generator and typing.AsyncGenerator (#118648)Jelle Zijlstra2024-05-061-5/+16
* gh-118465: Add __firstlineno__ attribute to class (GH-118475)Serhiy Storchaka2024-05-061-1/+1
* gh-116126: Implement PEP 696 (#116129)Jelle Zijlstra2024-05-031-24/+71
* gh-118418: Use a default value for `type_params` in `typing._eval_type` (#118...Nikita Sobolev2024-04-301-2/+2
* gh-118168: Fix Unpack interaction with builtin aliases (#118169)Jelle Zijlstra2024-04-231-2/+3
* gh-114053: Fix bad interaction of PEP-695, PEP-563 and ``get_type_hints`` (#1...Alex Waygood2024-04-191-8/+27
* gh-117516: Implement typing.TypeIs (#117517)Jelle Zijlstra2024-04-091-11/+85
* gh-117521: Improve typing.TypeGuard docstring (#117522)Jelle Zijlstra2024-04-041-11/+14
* gh-117110: Fix subclasses of typing.Any with custom constructors (#117111)傅立业(Chris Fu)2024-03-291-1/+1
* gh-115775: Compiler adds __static_attributes__ field to classes (#115913)Irit Katriel2024-03-261-1/+1
* gh-116127: PEP-705: Add `ReadOnly` support for `TypedDict` (#116350)Nikita Sobolev2024-03-121-10/+73
* gh-89547: Support for nesting special forms like Final (#116096)Mehdi Drissi2024-03-121-2/+2
* gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with em...Nikita Sobolev2024-03-051-1/+1
* gh-112281: Allow `Union` with unhashable `Annotated` metadata (#112283)Nikita Sobolev2024-03-011-14/+31
* gh-115165: Fix `typing.Annotated` for immutable types (#115213)dave-shawley2024-02-091-1/+3
* gh-112903: Handle non-types in _BaseGenericAlias.__mro_entries__() (#115191)Carl Meyer2024-02-091-1/+21
* gh-113320: Reduce the number of dangerous `getattr()` calls when constructing...Alex Waygood2024-01-051-18/+28
* gh-113255: Clarify docs for `typing.reveal_type` (#113286)Kir2023-12-201-2/+2
* gh-74690: Avoid a costly type check where possible in `_ProtocolMeta.__subcla...Alex Waygood2023-12-041-3/+19
* gh-74690: Optimise `isinstance()` and `issubclass()` calls against runtime-ch...Alex Waygood2023-12-041-3/+11
* gh-112618: Make `Annotated` cache typed (#112619)Nikita Sobolev2023-12-021-5/+6
* gh-112509: Fix keys being present in both required_keys and optional_keys in ...Jelle Zijlstra2023-11-291-5/+20
* gh-111874: Call `__set_name__` on objects that define the method inside a `ty...Alex Waygood2023-11-271-3/+18
* gh-112345: `typing.Protocol`: Let failed subclasscheck show non-method member...Randolf Scholz2023-11-241-1/+6
* gh-112194: Convert more examples to doctests in `typing.py` (#112195)Nikita Sobolev2023-11-171-31/+43
* gh-112155: Run `typing.py` doctests as part of `test_typing` (#112156)Nikita Sobolev2023-11-161-2/+2
* GH-112152: Fix typo in `typing.override` docstring (#112158)Qua272023-11-161-1/+1
* gh-110682: Ignore `__match_args__` from `__instancecheck__` in protocols (#11...Nikita Sobolev2023-10-121-1/+2
* gh-110180: Remove unused `_PickleUsingNameMixin` class from `typing` (#110181)Alex Waygood2023-10-011-7/+0
* gh-109653: `typing.py`: improve import time by creating soft-deprecated membe...Alex Waygood2023-09-231-8/+18
* gh-109543: Remove unnecessary hasattr check (#109544)Jelle Zijlstra2023-09-201-2/+1
* gh-105509: Simplify implementation of `typing.Annotated` (#105510)Alex Waygood2023-09-011-25/+13
* gh-106309: Deprecate typing.no_type_check_decorator (#106312)Alex Waygood2023-07-131-0/+2
* gh-105974: Revert unintentional behaviour change for protocols with non-calla...Alex Waygood2023-06-231-32/+33
* gh-105570: Deprecate unusual ways of creating empty TypedDicts (#105780)Alex Waygood2023-06-141-2/+17
* gh-105566: Deprecate unusual ways of creating `typing.NamedTuple` classes (#1...Alex Waygood2023-06-141-3/+45
* gh-104873: Add typing.get_protocol_members and typing.is_protocol (#104878)Jelle Zijlstra2023-06-141-0/+42
* Miscellaneous improvements to the typing docs (#105529)Alex Waygood2023-06-091-6/+6
* Further improve docs for `typing.Annotated` (#105498)Alex Waygood2023-06-081-6/+8
* typing: Improve documentation of generic classes and aliases (#105369)Alex Waygood2023-06-071-3/+5
* gh-105430: Remove `typing._Immutable` unused internal helper (#105434)Nikita Sobolev2023-06-071-11/+0
* gh-105286: Further improvements to `typing.py` docstrings (#105363)Alex Waygood2023-06-071-25/+43
* gh-105286: Improve `typing.py` docstrings (#105287)Alex Waygood2023-06-051-217/+253
* gh-105280: Ensure `isinstance([], collections.abc.Mapping)` always evaluates ...Alex Waygood2023-06-051-8/+20
* gh-105237: Allow calling `issubclass(X, typing.Protocol)` again (#105239)Alex Waygood2023-06-051-0/+4