Semyon Moroz
|
0664473614
|
Fix grammar typos (#15324)
|
2026-01-25 15:23:18 +00:00 |
|
Randolf Scholz
|
5c49b1fe49
|
Specialize plain slice type hints (#13007)
|
2026-01-23 10:35:39 +01:00 |
|
GastonAQS
|
e057b9f97f
|
Add broad definition for c_bool constructor (#14841)
|
2025-10-07 14:56:11 +02:00 |
|
Avasam
|
85834194c0
|
Update MaybeNone explanation location (#14630)
|
2025-08-23 11:18:13 +02:00 |
|
Gatsik
|
fef5d941b0
|
Add Protocols for mapping inside dictionary view objects (#14574)
|
2025-08-18 08:22:34 +02:00 |
|
Sebastian Rittau
|
217be6680a
|
Improve suggested annotations for sentinel types (#14435)
|
2025-07-21 15:30:00 +02:00 |
|
Randolf Scholz
|
bd17a577a5
|
Require SupportsBool instead of bool for comparisons. (#14375)
|
2025-07-16 13:31:32 +02:00 |
|
Sebastian Rittau
|
096cf56da3
|
Revert "Let SupportsDunderLT return SupportsBool instead of `bool… (#14373)
Revert "Let `SupportsDunderLT` return `SupportsBool` instead of `bool`. (#12939)"
This reverts commit aed8025d62.
|
2025-07-07 16:25:23 +02:00 |
|
Randolf Scholz
|
aed8025d62
|
Let SupportsDunderLT return SupportsBool instead of bool. (#12939)
|
2025-07-07 16:12:09 +02:00 |
|
Sebastian Rittau
|
b01e7aa9d2
|
Remove old compatibility alias _BufferWithLen (#14151)
|
2025-05-27 14:38:04 +02:00 |
|
Sebastian Rittau
|
b444909873
|
Copy typechecker-internal symbols to _typeshed._type_checker_internals (#13816)
|
2025-05-11 16:07:53 +02:00 |
|
Jelle Zijlstra
|
5ff32f377c
|
3.14: add annotationlib, update typing and inspect (#13985)
|
2025-05-10 14:25:06 -07:00 |
|
Avasam
|
f17ee46952
|
Python 3.14: Remove SupportsTrunc from ConvertibleToInt (#13986)
|
2025-05-10 18:26:23 +01:00 |
|
Avasam
|
a045be8ed6
|
Import names from typing directly rather than importing module (#13761)
|
2025-04-12 19:10:09 +02:00 |
|
Avasam
|
19cea106f0
|
Bump ruff to 0.11.2 (#13757)
|
2025-04-01 17:31:38 +01:00 |
|
cake-monotone
|
9f11db4296
|
Improving type support for math.prod (#13572)
|
2025-03-03 16:41:34 +01:00 |
|
Sebastian Rittau
|
96c3fe712a
|
Remove SupportsGetItem.__contains__ (#13541)
|
2025-03-03 15:44:26 +01:00 |
|
Shantanu
|
54b39e1de4
|
Add __replace__ to namedtuple and structseq (#11939)
mypy will need its own change to truly understand namedtuple
|
2024-05-18 05:55:09 -04:00 |
|
Anderson Bravalheri
|
b42e3b2e89
|
Use protocols instead of importlib.abc.Loader/MetaPathFinder/PathEntryFinder (#11890)
|
2024-05-12 11:58:33 +02:00 |
|
Anuraag (Rag) Agrawal
|
273e9ea6dd
|
Fix comment referencing incorrect type name (#11832)
|
2024-04-24 18:54:17 -07:00 |
|
Sebastian Rittau
|
f646eb86e2
|
Introduce SupportsContainsAndGetItem (#11827)
|
2024-04-24 16:19:12 +02:00 |
|
Sebastian Rittau
|
7ed91bc2e7
|
Add _typeshed.MaybeNone as Any trick marker (#11815)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
|
2024-04-23 17:13:25 -04:00 |
|
Shantanu
|
2d146e7da2
|
Use PEP 570 syntax in comments (#11552)
|
2024-03-09 15:06:25 -08:00 |
|
Shantanu
|
470a13ab09
|
Use PEP 570 syntax in stdlib (#11250)
|
2024-03-09 14:50:16 -08:00 |
|
Sebastian Rittau
|
53a8193d64
|
Update typing_extensions imports in stdlib (#11244)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
|
2024-01-05 08:15:19 -08:00 |
|
Sebastian Rittau
|
262d73c90c
|
Update description of _typeshed.Self (#11233)
|
2024-01-04 14:43:22 +01:00 |
|
tungol
|
fd7ff19577
|
Use StrEnum as base class, when available (#11100)
|
2023-12-05 13:27:10 +01:00 |
|
Jelle Zijlstra
|
5030b7419b
|
stdlib: Use pos-only parameters for many Protocols (#10985)
|
2023-11-06 18:09:04 +01:00 |
|
Sebastian Rittau
|
a5c1a4cd3f
|
Introduce _typeshed.SupportsFlush (#10983)
|
2023-11-06 15:31:02 +01:00 |
|
Nikita Sobolev
|
d14c5f82c8
|
Bump pyright to 1.1.332 (#10904)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2023-10-18 10:09:50 +01:00 |
|
Ali Hamdan
|
2b323bed50
|
Add typeshed aliases to the types accepted by int and float constructors (#10707)
Ref https://github.com/python/typeshed/pull/10630#discussion_r1321646168
|
2023-09-22 19:50:43 -07:00 |
|
Sebastian Rittau
|
31ae7b13c7
|
Add _typeshed.sentinel (#10582)
|
2023-08-16 11:31:05 +02:00 |
|
Jelle Zijlstra
|
c0a0c34020
|
Use PEP 688 (#10225)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2023-05-27 19:55:30 -07:00 |
|
Alex Waygood
|
1d2ae2598b
|
Fix some typos in comments (#9802)
|
2023-02-23 22:11:24 +00:00 |
|
Alex Waygood
|
0ef9c3f8e8
|
Enable flake8-pyi's Y037 (#9686)
|
2023-02-06 19:01:02 -08:00 |
|
Marc Mueller
|
88a761ed4e
|
Export DataclassInstance protocol from _typeshed (#9676)
|
2023-02-04 15:58:11 +00:00 |
|
Avasam
|
41de5317b5
|
Add FileDescriptorOrPath and Unused type aliases (#9475)
|
2023-01-08 10:05:51 +00:00 |
|
Avasam
|
be1da49957
|
Suggestion: SliceableBuffer type alias (#9115)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
|
2022-11-24 20:14:09 -08:00 |
|
Samuel T
|
796bdc2eb0
|
Improve accuracy of six byte index methods (#9117)
|
2022-11-09 19:22:33 -08:00 |
|
Alex Waygood
|
739460291b
|
Use recursive type aliases in builtins and _typeshed (#9134)
|
2022-11-08 17:04:09 +00:00 |
|
Nikita Sobolev
|
a96cb58160
|
binhex: improve bytes handling (#9035)
|
2022-10-30 06:36:30 -07:00 |
|
Shantanu
|
2969922b68
|
Fix intransitive subtyping issue with SupportsGetItem (#8785)
See https://github.com/python/mypy/issues/13713 for details
|
2022-09-23 13:25:15 -07:00 |
|
Nikita Sobolev
|
6e985ef3de
|
stdlib mapping classes: Use better names for various pos-only parameters (#8637)
|
2022-08-28 23:29:00 +01:00 |
|
Shantanu
|
1a8a49e671
|
wsgiref.types: use Iterator, not Iterable (#8358)
https://github.com/python/typeshed/issues/8356
|
2022-07-21 13:26:44 -07:00 |
|
Graham Bleaney
|
9519e3652b
|
Add LiteralString support to string module (#8268)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
|
2022-07-18 19:34:27 -07:00 |
|
Alex Waygood
|
208d8e1ec2
|
Fix assertAlmostEqual regression on mixed numeric types (#8137)
|
2022-06-27 08:57:36 +02:00 |
|
Alex Waygood
|
8b3b6bf7cd
|
stdlib: Audit Callable[<parameters>, None] annotations (#8187)
|
2022-06-27 08:08:28 +02:00 |
|
Alex Waygood
|
538621e91b
|
unittest.case: tighter annotations for various assertions (#8077)
|
2022-06-20 18:49:57 +02:00 |
|
Alex Waygood
|
5add91d6bb
|
unittest: Improve self.assert(Not)AlmostEqual(s) (#8066)
|
2022-06-14 18:24:51 +03:00 |
|
Alex Waygood
|
1828ba2045
|
builtins.sum: Items in the iterable must support addition with int if no start value is given (#8000)
|
2022-06-13 11:25:38 +01:00 |
|