134 Commits (05ab4b60ab3dae61ee75692b6624537d4f3fdf85)

Author SHA1 Message Date
Ken Jin 05ab4b60ab
bpo-43766: Implement PEP 647 (User-Defined Type Guards) in typing.py (#25282) 5 years ago
Ken Jin 1b1f9852bd
bpo-42904: Change search order of typing.get_type_hints eval (#25632) 5 years ago
Pablo Galindo b0544ba77c
bpo-38605: Revert making 'from __future__ import annotations' the default (GH-25490) 5 years ago
Victor Stinner a6a5c91b1e
bpo-40443: Remove unused imports (GH-25429) 5 years ago
Karthikeyan Singaravelan a9cf69df2e
bpo-41515: Fix KeyError raised in get_type_hints (GH-25352) 5 years ago
Ken Jin 852150ddfe
bpo-42904: Fix get_type_hints for class local namespaces (GH-24201) 5 years ago
Jelle Zijlstra 9045919bfa
bpo-43772: Fix TypeVar.__ror__ (GH-25339) 5 years ago
Jelle Zijlstra 522433601a
bpo-43783: Add ParamSpecArgs/Kwargs (GH-25298) 5 years ago
Ken Jin ace008c531
Fix various ParamSpec errors in typing (GH-24176) 6 years ago
Ken Jin 11276cd9c4
bpo-41559: Documentation for PEP 612 (GH-24000) 6 years ago
Ross c1af128f5a
bpo-41781: Fix typo in internal function name in typing (GH-23957) 6 years ago
Ken Jin efb1f0918f
bpo-42740: Support PEP 604, 612 for typing.py get_args and get_origin (GH-23942) 6 years ago
Ken Jin 4140f10a16
bpo-42740: Fix get_args for PEP 585 collections.abc.Callable (GH-23963) 6 years ago
kj 73607be686
bpo-41559: Implement PEP 612 - Add ParamSpec and Concatenate to typing (#23702) 6 years ago
kj 463c7d3d14
bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and typing (GH-23060) 6 years ago
Alex Grönholm 67b769f515
bpo-42059: Fix required/optional keys for TypedDict(..., total=False) (GH-22736) 6 years ago
Yurii Karabas 1b54077ff6
bpo-42345: Fix hash implementation of typing.Literal (GH-23383) 6 years ago
Yurii Karabas f03d318ca4
bpo-42345: Fix three issues with typing.Literal parameters (GH-23294) 6 years ago
kj 1f7dfb277e
bpo-42233: Correctly repr GenericAlias when used with typing module (GH-23081) 6 years ago
Mikhail Golubev 4f3c25043d
bpo-41923: PEP 613: Add TypeAlias to typing module (#22532) 6 years ago
Batuhan Taskaya 044a1048ca
bpo-38605: Make 'from __future__ import annotations' the default (GH-20434) 6 years ago
Patrick Reader 0705ec8a14
bpo-41792: Add is_typeddict function to typing.py (GH-22254) 6 years ago
Maggie Moss 1b4552c5e8
bpo-41428: Implementation for PEP 604 (GH-21515) 6 years ago
Graham Bleaney 84ef33c511
Fix typo in typing.py (GH-22121) 6 years ago
Victor Stinner 0e95bbf085
bpo-41521, typing: Rename _PROTO_WHITELIST to _PROTO_ALLOWLIST (#21825) 6 years ago
wyfo 653f420b53
bpo-41341: Recursive evaluation of ForwardRef in get_type_hints (#21553) 6 years ago
Zackery Spytz 7fed75597f
bpo-39168: Remove the __new__ method of typing.Generic (GH-21327) 6 years ago
Serhiy Storchaka 2fbc57af85
bpo-40257: Tweak docstrings for special generic aliases. (GH-20022) 6 years ago
Serhiy Storchaka 0122d48681
bpo-40397: Fix subscription of nested generic alias without parameters. (GH-20021) 6 years ago
Serhiy Storchaka fcb285609a
bpo-40397: Remove __args__ and __parameters__ from _SpecialGenericAlias (GH-19984) 6 years ago
Serhiy Storchaka c1c7d8ead9
bpo-40397: Refactor typing._GenericAlias (GH-19719) 6 years ago
Vlad Serebrennikov 138a9b9c2a
bpo-40389: Improve repr of typing.Optional (#19714) 6 years ago
Serhiy Storchaka 6292be7adf
bpo-40398: Fix typing.get_args() for special generic aliases. (GH-19720) 6 years ago
Serhiy Storchaka 68b352a698
bpo-40396: Support GenericAlias in the typing functions. (GH-19718) 6 years ago
Nickolena Fisher cfaf4c09ab
Fix typo in Lib/typing.py (GH-19717) 6 years ago
Serhiy Storchaka 40ded947f8
bpo-40336: Refactor typing._SpecialForm (GH-19620) 6 years ago
HongWeipeng a25a04fea5
bpo-39942:Fix failure in `TypeVar` when missing `__name__` (GH-19616) 6 years ago
Serhiy Storchaka 7e64414f57
bpo-40257: Improve help for the typing module (GH-19546) 6 years ago
Serhiy Storchaka f228bf2300
bpo-40187: Refactor typing.TypedDict. (GH-19372) 6 years ago
Serhiy Storchaka a2ec06938f
bpo-40185: Refactor typing.NamedTuple (GH-19371) 6 years ago
Guido van Rossum 48b069a003
bpo-39481: Implementation for PEP 585 (#18239) 6 years ago
Serhiy Storchaka 6fed3c8540
bpo-40182: Remove the _field_types attribute of the NamedTuple class (GH-19368) 6 years ago
Serhiy Storchaka a94e6272f1
bpo-36517: Raise error on multiple inheritance with NamedTuple (GH-19363) 6 years ago
Raymond Hettinger 1ae6445391
Convert tuples to sets for faster searches (GH-19365) 6 years ago
ananthan-123 ab6423fe2d
bpo-39572: Document ’total’ flag of TypedDict (GH-18554) 6 years ago
Vlad Emelianov 10e87e5ef4
bpo-39627: Fix TypedDict totality check for inherited keys (#18503) 7 years ago
Jakub Stasiak 38aaaaac80
bpo-39491: Mention Annotated in get_origin() docstring (GH-18379) 7 years ago
Jakub Stasiak cf5b109dbb
bpo-39491: Merge PEP 593 (typing.Annotated) support (#18260) 7 years ago
Shantanu 2e6569b669
bpo-39493: Fix definition of IO.closed in typing.py (#18265) 7 years ago
Zac Hatfield-Dodds 665ad3dfa9 Better runtime TypedDict (GH-17214) 7 years ago