summaryrefslogtreecommitdiffstats
path: root/Lib/typing.py
Commit message (Expand)AuthorAgeFilesLines
* Lib/typing.py copy edits originating from GH-31061 (GH-31684)Miss Islington (bot)2022-03-051-3/+3
* bpo-46333: Honor `module` parameter in ForwardRef (GH-30536)Miss Islington (bot)2022-02-171-2/+3
* bpo-46539: Pass status of special typeforms to forward references (GH-30926)Miss Islington (bot)2022-01-271-3/+3
* bpo-46491: Allow Annotated on outside of Final/ClassVar (GH-30864)Miss Islington (bot)2022-01-251-4/+4
* [3.9] bpo-45679: Fix caching of multi-value typing.Literal (GH-29334) (GH-29342)Serhiy Storchaka2021-11-031-6/+5
* [3.9] bpo-45166: fixes `get_type_hints` failure on `Final` (GH-28279) (GH-28561)Łukasz Langa2021-09-251-10/+21
* [3.9] bpo-45121: Fix RecursionError when calling Protocol.__init__ from a sub...Ken Jin2021-09-081-0/+5
* bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-2...Miss Islington (bot)2021-09-021-12/+24
* bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) (GH-27559)Miss Islington (bot)2021-08-021-2/+10
* [3.9] bpo-41249: Fix postponed annotations for TypedDict (GH-27017) (GH-27205)Ken Jin2021-07-171-7/+13
* [3.9] Revert "[3.9] bpo-38908: Fix issue when non runtime_protocol does not r...Ken Jin2021-05-121-12/+4
* [3.9] bpo-38908: Fix issue when non runtime_protocol does not raise TypeError...Ken Jin2021-05-121-4/+12
* bpo-38352: Add to typing.__all__ (GH-25821) (#25885)Miss Islington (bot)2021-05-041-0/+7
* bpo-42740: Fix get_args for PEP 585 collections.abc.Callable (GH-23963)Miss Islington (bot)2020-12-281-3/+1
* bpo-42059: Fix required/optional keys for TypedDict(..., total=False) (GH-227...Miss Islington (bot)2020-12-141-2/+2
* [3.9] bpo-42195: Ensure consistency of Callable's __args__ in collections.abc...kj2020-12-141-12/+19
* bpo-42345: Fix hash implementation of typing.Literal (GH-23383)Miss Islington (bot)2020-11-191-1/+1
* [3.9] bpo-42345: Fix three issues with typing.Literal parameters (GH-23294) (...Yurii Karabas2020-11-171-23/+77
* bpo-42233: Correctly repr GenericAlias when used with typing module (GH-23081)Miss Islington (bot)2020-11-071-0/+2
* [3.9] Fix typo in typing.py (GH-22121) (GH-22156)Miss Islington (bot)2020-09-081-1/+1
* bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (GH-21553)Miss Islington (bot)2020-07-261-6/+14
* bpo-39168: Remove the __new__ method of typing.Generic (GH-21327)Miss Islington (bot)2020-07-051-10/+0
* bpo-40257: Tweak docstrings for special generic aliases. (GH-20022)Serhiy Storchaka2020-05-101-1/+4
* bpo-40397: Fix subscription of nested generic alias without parameters. (GH-2...Serhiy Storchaka2020-05-101-2/+4
* bpo-40397: Remove __args__ and __parameters__ from _SpecialGenericAlias (GH-1...Serhiy Storchaka2020-05-101-80/+87
* bpo-40397: Refactor typing._GenericAlias (GH-19719)Serhiy Storchaka2020-05-071-191/+198
* bpo-40389: Improve repr of typing.Optional (#19714)Vlad Serebrennikov2020-04-301-0/+7
* bpo-40398: Fix typing.get_args() for special generic aliases. (GH-19720)Serhiy Storchaka2020-04-271-1/+3
* bpo-40396: Support GenericAlias in the typing functions. (GH-19718)Serhiy Storchaka2020-04-261-5/+18
* Fix typo in Lib/typing.py (GH-19717)Nickolena Fisher2020-04-261-1/+1
* bpo-40336: Refactor typing._SpecialForm (GH-19620)Serhiy Storchaka2020-04-231-77/+61
* bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616)HongWeipeng2020-04-201-1/+4
* bpo-40257: Improve help for the typing module (GH-19546)Serhiy Storchaka2020-04-181-0/+6
* bpo-40187: Refactor typing.TypedDict. (GH-19372)Serhiy Storchaka2020-04-081-34/+33
* bpo-40185: Refactor typing.NamedTuple (GH-19371)Serhiy Storchaka2020-04-081-42/+43
* bpo-39481: Implementation for PEP 585 (#18239)Guido van Rossum2020-04-071-3/+4
* bpo-40182: Remove the _field_types attribute of the NamedTuple class (GH-19368)Serhiy Storchaka2020-04-041-4/+2
* bpo-36517: Raise error on multiple inheritance with NamedTuple (GH-19363)Serhiy Storchaka2020-04-041-0/+3
* Convert tuples to sets for faster searches (GH-19365)Raymond Hettinger2020-04-041-3/+3
* bpo-39572: Document ’total’ flag of TypedDict (GH-18554)ananthan-1232020-02-191-1/+14
* bpo-39627: Fix TypedDict totality check for inherited keys (#18503)Vlad Emelianov2020-02-131-13/+20
* bpo-39491: Mention Annotated in get_origin() docstring (GH-18379)Jakub Stasiak2020-02-071-2/+2
* bpo-39491: Merge PEP 593 (typing.Annotated) support (#18260)Jakub Stasiak2020-02-051-5/+121
* bpo-39493: Fix definition of IO.closed in typing.py (#18265)Shantanu2020-01-301-0/+1
* Better runtime TypedDict (GH-17214)Zac Hatfield-Dodds2019-11-241-3/+15
* bpo-37838: get_type_hints for wrapped functions with forward reference (GH-17...benedwards142019-11-211-1/+5
* bpo-38407: Add docstrings for typing.SupportsXXX classes. (GH-16644)Serhiy Storchaka2019-10-081-0/+7
* bpo-38405: Make nested subclasses of typing.NamedTuple pickleable. (GH-16641)Serhiy Storchaka2019-10-081-1/+1
* cleanup ababstractproperty in typing.py (GH-16432)HongWeipeng2019-09-271-8/+15
* bpo-38191: Turn warnings into errors in NamedTuple() and TypedDict(). (GH-16238)Serhiy Storchaka2019-09-171-66/+4