Semyon Moroz
692c0e9e3e
Bump configparser to 3.14 ( #14007 )
2025-05-11 00:03:41 -07:00
Semyon Moroz
e562665478
Update tokens for 3.14 ( #14004 )
2025-05-10 22:39:53 -07:00
Max Muoto
0f3ff0874c
Update functools for 3.14 ( #14002 )
2025-05-10 21:09:02 -07:00
Max Muoto
c4aa48a626
Add context manager for contextvars.Token (3.14) ( #13997 )
2025-05-10 23:33:33 +02:00
Jelle Zijlstra
5ff32f377c
3.14: add annotationlib, update typing and inspect ( #13985 )
2025-05-10 14:25:06 -07:00
Max Muoto
8bd5455b32
Add context manager support for QueueListener (3.14) ( #13996 )
2025-05-10 14:18:37 -07:00
Max Muoto
33a0cb977e
Update ProcessPoolExecutor for 3.14 ( #13994 )
2025-05-10 22:43:14 +02:00
Akuli
bd2e68f628
Delete duplicate lines from stdlib/@tests/stubtest_allowlists/py314.txt ( #13993 )
2025-05-10 22:08:02 +02:00
Semyon Moroz
725f7177b1
Update ast.main function for Python 3.14 ( #13982 )
2025-05-10 21:32:20 +02:00
Max Muoto
f90424014b
Add strptime for datetime.time and datetime.date (3.14) ( #13991 )
2025-05-10 21:02:43 +02:00
Max Muoto
f67a0df2b8
Update uuid for 3.14, other minor improvements ( #13990 )
2025-05-10 20:51:32 +02:00
Max Muoto
ed5525b284
Add invalidate_caches for 3.14 ( #13988 )
2025-05-10 20:22:34 +02:00
Semyon Moroz
6308997a13
Bump getpass to 3.14 ( #13967 )
2025-05-10 08:17:04 -07:00
Sebastian Rittau
2d50d6b316
Support Python 3.14 ( #13957 )
2025-05-10 06:27:40 -07:00
Sebastian Rittau
0eb44e574c
Clean up and fix email message types ( #13532 )
...
* Unify the `_MessageT` type var in `email._policybase`.
* Use explicit type arguments for `Message` type in `_MessageT` type var.
In particular, change bound from `Message[str, str]` to `Message[Any, Any]`.
* Change `__init__()` overloads of `Parser` and `BytesParser` to accept
`Message` objects that are not `Message[str, str]` if `_class` is not also given.
2025-05-05 11:59:51 -04:00
Sebastian Rittau
de317e1c74
Simplify and fix urllib.parse.urlencode() ( #13815 )
...
Remove overloads and type vars. Introduce a protocol for the
`quote_via` argument. This means that the interface accepted by the
supplied `quote_via` is stricter, and is not dependent on the actual
supplied types in the `query` argument, but must work with all
possible query types.
2025-04-14 11:11:06 +02:00
Avasam
a045be8ed6
Import names from typing directly rather than importing module ( #13761 )
2025-04-12 19:10:09 +02:00
Mikaël Capelle
7ffb7e0832
Fix typing of Pickler.persistent_id and Unpickler.persistent_load for Python < 3.13. ( #13818 )
2025-04-12 19:09:31 +02:00
Edward Peek
bb1cbfab59
Fix incorrect keyword-only arguments in tarfile.open() ( #13814 )
2025-04-11 11:48:34 +02:00
Brian Schubert
c7b8fe9f06
Fix stdlib stubtest for latest Python patch releases ( #13812 )
2025-04-10 14:19:45 -07:00
Alex Waygood
d92a6449c2
Remove more Python 3.8 cruft ( #13787 )
2025-04-03 11:56:38 +01:00
Sebastian Rittau
30b16c168d
Drop Python 3.8 branches ( #13776 )
2025-04-03 10:35:36 +02:00
Joren Hammudoglu
5513d3f19b
Drop Python 3.8 support in builtins ( #13762 )
...
* remove py38 branches in `builtins`
* combined `builtins.dict` tests with those exclusive to `>=3.9`
2025-04-02 09:01:36 +02:00
Joren Hammudoglu
f6503fd9ab
Drop Python 3.8 support in typing[_extensions] and types ( #13763 )
2025-04-02 08:56:56 +02:00
Jia Chen
693b66ae9a
Make Any a proper class instead of an alias to object() ( #13520 )
2025-03-21 13:46:23 +01:00
Sebastian Rittau
704cfb477e
Move imports into version_info branch ( #13684 )
2025-03-20 14:09:08 +01:00
Sebastian Rittau
5a8f8aa052
Update typing_extensions to 4.13.0rc1 ( #13671 )
...
Also sort __all__ to match the implementation
2025-03-19 13:56:18 +01:00
Joren Hammudoglu
28106bcb73
Annotate pathlib.Path.{owner,group,is_mount} on windows ( #13613 )
2025-03-11 18:45:40 +01:00
Joren Hammudoglu
ab46a26de8
Annotate unittest.TestCase.__init_subclass__ ( #13602 )
2025-03-09 13:47:43 +01:00
Stephen Morton
846d167f51
Fix default of dict.get ( #13222 )
2025-03-09 13:44:27 +01:00
Stephen Morton
56fa438a27
Decouple types.DynamicClassAttribute from property ( #13276 )
2025-03-07 19:08:27 +01:00
Sebastian Rittau
3e83e42a0f
Update pyright to v1.1.395; disable a pow() check ( #13564 )
...
pyright and mypy disagree about the exact type due to differing
overloads handling.
---------
Co-authored-by: Avasam <samuel.06@hotmail.com >
2025-03-03 11:49:41 -05:00
cake-monotone
9f11db4296
Improving type support for math.prod ( #13572 )
2025-03-03 16:41:34 +01:00
Stephen Morton
175e700656
Push items down from socketserver.BaseServer to TCPServer ( #13082 )
...
Cf. https://github.com/python/cpython/issues/127209
2025-03-03 16:38:43 +01:00
Randolf Scholz
be17dc0ac4
builtins.slice: more precise __new__ overloads and defaults for StopT and StepT. (#13008 )
2025-02-28 13:33:07 +01:00
Sebastian Rittau
f1b121cf29
[configparser] Fix missing fallback argument in SectionProxy.get ( #13559 )
...
Closes : #13556
2025-02-28 03:33:10 -08:00
Stephen Morton
1bd2a358c9
test suite characterizing dict.get() ( #13225 )
2025-02-28 12:18:56 +01:00
Sebastian Rittau
9da1df60be
Update an itertool recipe from Python docs ( #13543 )
2025-02-26 14:04:04 +01:00
Alex Waygood
5caaf2e1fb
Fix stdlib stubtest for latest Python patch releases ( #13464 )
2025-02-05 23:33:27 +00:00
Stephen Morton
578af27510
add types.GenericAlias.__mro_entries__ ( #13284 )
2025-01-15 15:36:02 +01:00
Sebastian Rittau
f26ad2059e
Remove Python3.8 stubtest allowlists ( #13389 )
...
Consolidate remaining allowlists
2025-01-10 15:17:36 +01:00
Stephen Morton
2a030be2e9
fix ctypes.GetLastError ( #13379 )
2025-01-09 19:03:56 -08:00
Stephen Morton
e55c13a612
update allowlist comment for SupportsAbs and SupportsRound ( #13380 )
...
The answer to the question is that mypy infers it just fine, but
stubtest doesn't check for attributes inherited from the metaclass
because that's almost never what we want. In this case,
the runtime implementation doesn't get __type_params__ from
builtins.type either. It's actually defined for the class due to
the use of PEP-695 syntax.
2025-01-09 14:00:54 -08:00
Refael Ackermann
ca6251ad64
stdlib: new signature for CDLL in 3.12 ( #13313 )
2024-12-29 17:24:12 -08:00
Stephen Morton
801c5c9495
improve identity of threading module's Lock and RLock ( #12966 )
2024-12-28 08:00:04 -08:00
James Hilton-Balfe
ab75b691c2
Make collections.abcs more consistent with runtime implementation ( #10816 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-12-27 21:31:59 -08:00
Stephen Morton
a4b7c36366
add missing things in multiprocessing ( #13153 )
2024-12-27 21:13:30 -08:00
Max Muoto
92231a5728
Update tkinter.Misc for 3.13 ( #12367 )
2024-12-27 20:59:32 -08:00
Stephen Morton
43f637b5e2
add _GeneratorContextManagerBase.__init__ ( #13246 )
...
I think that #6676 showed that Paramspec didn't work, but that
wasn't actually the fault of _GeneratorContextManagerBase.
2024-12-27 20:04:57 -08:00
Stephen Morton
b29e26a628
select.poll is not available on windows ( #13243 )
2024-12-27 20:04:24 -08:00