summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* 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
* gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_Protoco...Alex Waygood2023-05-311-19/+15
* 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