summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* Lib/typing.py copy edits originating from GH-31061 (#31684)Matt Bogosian2022-03-051-3/+3
* bpo-46643: Fix stringized P.args/P.kwargs with get_type_hints (GH-31238)Gregory Beauregard2022-03-031-1/+2
* bpo-46195: Do not add `Optional` in `get_type_hints` (GH-30304)Nikita Sobolev2022-03-021-27/+2
* bpo-46571: improve `typing.no_type_check` to skip foreign objects (GH-31042)Nikita Sobolev2022-02-191-5/+15
* bpo-46333: Honor `module` parameter in ForwardRef (GH-30536)aha792022-02-171-2/+3
* bpo-46066: Deprecate kwargs syntax for TypedDict definitions (GH-31126)97littleleaf112022-02-171-4/+11
* bpo-46333: include `module` in `ForwardRef.__repr__` (#31283)aha792022-02-121-1/+5
* bpo-46475: Add typing.Never and typing.assert_never (GH-30842)Jelle Zijlstra2022-02-081-4/+60
* bpo-46676: Make ParamSpec args and kwargs equal to themselves (GH-31203)Gregory Beauregard2022-02-081-0/+10
* bpo-46534: Implement PEP 673 Self in typing.py (GH-30924)James Hilton-Balfe2022-02-071-1/+23
* bpo-46589: Improve documentation for typing._GenericAlias (GH-31026)Matthew Rahtz2022-02-071-32/+110
* bpo-46655: allow stringized TypeAlias with get_type_hints (GH-31156)Gregory Beauregard2022-02-061-1/+1
* Fix __init_subclass__ using self instead of class (#31135)Gregory Beauregard2022-02-051-1/+1
* bpo-46414: Add typing.reveal_type (#30646)Jelle Zijlstra2022-02-021-0/+21
* bpo-46560: Fix a typo in `typing.ParamSpec's` doc string (GH-30995)Zackery Spytz2022-01-281-1/+1
* bpo-46553: allow bare typing.ClassVar annotations (#30983)Gregory Beauregard2022-01-281-1/+1
* bpo-44791: Fix substitution of ParamSpec in Concatenate with different parame...Serhiy Storchaka2022-01-271-1/+11
* bpo-46539: Pass status of special typeforms to forward references (GH-30926)Gregory Beauregard2022-01-271-3/+3
* bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)Gregory Beauregard2022-01-251-4/+4
* bpo-46470: remove unused branch from `typing._remove_dups_flatten` (GH-30780)Nikita Sobolev2022-01-241-2/+0
* bpo-46342: make @typing.final introspectable (GH-30530)Jelle Zijlstra2022-01-121-1/+10
* bpo-46244: Remove __slots__ from typing.TypeVar, .ParamSpec (#30444)Arie Bovenberg2022-01-101-6/+0
* bpo-45755: [typing] Reveal class attributes of generic in generic aliases in ...Ken Jin2021-12-161-0/+3
* bpo-44353: Correct docstring for `NewType` (#29785)Alex Waygood2021-11-261-1/+1
* bpo-45679: Fix caching of multi-value typing.Literal (GH-29334)Serhiy Storchaka2021-10-311-6/+5
* bpo-45489: Update ForwardRef to support | operator. (GH-28991)Dong-hee Na2021-10-161-0/+6
* bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279)Nikita Sobolev2021-09-251-9/+20
* bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass'...Yurii Karabas2021-09-081-0/+5
* bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-2...Yurii Karabas2021-09-021-12/+24
* bpo-44524: Don't modify MRO when inheriting from typing.Annotated (GH-27841)Ken Jin2021-08-251-1/+6
* bpo-44524: Do not set _name of _SpecialForm without need (GH-27861)Serhiy Storchaka2021-08-211-11/+8
* bpo-44524: Fix cryptic TypeError message when trying to subclass special form...Yurii Karabas2021-08-181-0/+3
* bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set fo...Bas van Beek2021-08-061-7/+16
* bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585)Serhiy Storchaka2021-08-041-8/+18
* bpo-44806: Fix __init__ in subclasses of protocols (GH-27545)Serhiy Storchaka2021-08-021-2/+10
* bpo-44793: Fix checking the number of arguments when subscribe a generic type...Serhiy Storchaka2021-08-021-6/+9
* bpo-44747: Refactor usage of sys._getframe at typing module (#27387)Yurii Karabas2021-07-301-21/+7
* bpo-44761: Change default value of NewType __module__ attr (GH-27406)Yurii Karabas2021-07-301-4/+6
* bpo-44732: Rename types.Union to types.UnionType (#27342)Hasan2021-07-261-11/+11
* bpo-44676: Serialize the union type using only public API (GH-27323)Serhiy Storchaka2021-07-241-2/+2
* bpo-44731: Simplify the union type implementation (GH-27318)Serhiy Storchaka2021-07-241-0/+6
* bpo-44353: Expand NewType tests for complex __qualname__. (#27311)Serhiy Storchaka2021-07-241-1/+6
* bpo-44676: Add ability to serialize types.Union (GH-27244)Yurii Karabas2021-07-231-2/+2
* bpo-44353: Implement typing.NewType __call__ method in C (#27262)Yurii Karabas2021-07-221-3/+9
* bpo-44353: Refactor typing.NewType into callable class (GH-27250)Yurii Karabas2021-07-201-5/+22
* bpo-44524: Add missed __name__ and __qualname__ to typing module objects (#27...Yurii Karabas2021-07-191-0/+9
* bpo-44654: Refactor and clean up the union type implementation (GH-27196)Serhiy Storchaka2021-07-171-1/+1
* bpo-41249: Fix postponed annotations for TypedDict (GH-27017)Germán Méndez Bravo2021-07-171-7/+13
* bpo-44490: Improve typing module compatibility with types.Union (GH-27048)Yurii Karabas2021-07-171-5/+13
* bpo-44652: Preserve natural order of args in the union type. (GH-27185)Serhiy Storchaka2021-07-161-4/+4