Commit Graph

6410 Commits

Author SHA1 Message Date
Hunter Hogan c6b7c0b144 [_operator] Type add and sub (#15601) 2026-04-05 16:02:13 +02:00
Hunter Hogan 4edae94984 [_operator] Type mod (#15577)
Add `Supports(R)Mod` protocols to `_typeshed` module.
2026-04-05 15:19:57 +02:00
Sebastian Rittau 25bc534aed [_operator] Type mul and remove Anys that can be improved (#15598) 2026-04-02 14:07:55 +02:00
KotlinIsland 8bf790086a [argparse] Remove unused generic from _ActionsContainer.add_argument (#15585) 2026-04-02 08:03:00 +02:00
renovate[bot] 8b31f2639e Update most test/lint dependencies (#15582) 2026-04-01 17:54:51 +02:00
Sebastian Rittau 8ffc43610f Update mypy to 1.20.0 (#15588) 2026-04-01 17:02:18 +02:00
Sebastian Rittau b4a8d21edf [concurrent.interpreters] Fix version guards (#15592) 2026-04-01 15:41:03 +02:00
Sebastian Rittau 08628cee95 [stdlib] Fix a few literal values (#15589) 2026-04-01 15:17:41 +02:00
KotlinIsland e01edb5465 [contextlib] Make ExitStack/AsyncExitStack not appear as abstract (#15488) 2026-04-01 11:38:42 +02:00
Jeremy Cantrell c5e47faeda Fix threading.Thread argument context type (#15579) 2026-03-31 15:13:57 -04:00
Jonathan Dung 15f1aea25a Change 'self' to 'cls' in mmap.__new__ method (#15576) 2026-03-29 22:41:17 -07:00
Semyon Moroz 14968e64c6 [ssl] Deprecate RAND_egd (#15572) 2026-03-29 12:45:52 -04:00
Semyon Moroz 900bad5a71 [sqlite3] Deprecate undocumented enable_shared_cache (#15571)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2026-03-29 10:53:22 -04:00
Stephen Finucane 07f0b07dd4 stdlib: Fix type for unittest.TestProgram module attribute (#15559) 2026-03-26 11:40:39 -04:00
Jonathan Dung 27d902f6fa [asyncio] Add annotations for asyncio.base_tasks._task_repr (#15558) 2026-03-26 13:03:49 +01:00
LeonDeKunlun 4578526f87 [configparser] Fix return type of RawConfigParser.read (#15551) 2026-03-26 11:22:48 +01:00
Jonathan Dung d28d1121dc [signal] Define SIGABRT as 22 instead of 6 on Windows (#15541) 2026-03-23 15:54:44 +01:00
Semyon Moroz 4449b2bfd9 [asyncio] Deprecate ThreadedChildWatcher and PidfdChildWatcher (#15513) 2026-03-16 08:58:39 +01:00
Jonathan Dung 2e0a8127f5 [code] Add InteractiveConsole.local_exit (#15519) 2026-03-16 08:32:40 +01:00
Brian Schubert 2839fd5734 Add @type_check_only to stub-only private classes in stdlib, round 2 (#15515) 2026-03-15 16:31:02 -04:00
Sebastian Rittau 6e32e08743 [pickle] Fix _Pickle.reducer_override annotation (#13545) 2026-03-15 13:45:55 +01:00
melassa e2c0e3a0c6 tkinter: Accept list and tuple in grid sticky option (#15508)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2026-03-14 20:43:47 +02:00
Sebastian Rittau 25438e5f21 [tarfile] Use Literal for TarFile.{debug,errorlevel} (#15368) 2026-03-11 16:27:22 +01:00
Randolf Scholz bfb7342f83 remove dict.__or__ overloads (#14284) 2026-03-08 19:33:25 +00:00
FuYn 6827cd4777 [bisect] Allow sequences without __len__ when hi is explicitly provided (#15493) 2026-03-07 11:53:21 +01:00
pinterior b0401bc7df [contextlib] adjust nullcontext.__init__ to fix divergences in type checkers (#15482) 2026-03-04 09:33:00 +01:00
Semyon Moroz 7c9d622f5b Update allowlists for latest Python patch releases (#15485)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2026-03-03 22:54:01 -05:00
Albert Eduardovich N. 35004e95ca [encodings] Reexport encodings.aliases (#15462) 2026-03-02 13:32:54 +01:00
Randolf Scholz e8638cd0eb [builtins] Canonicalized set/frozenset signatures (#15470) 2026-03-02 11:30:17 +01:00
Eric Werner ceaa3e17a0 [urllib.requests] Allow install_opener to be reset (#15477) 2026-03-02 11:26:53 +01:00
Brian Schubert 2b36c453e8 [types] Make UnionType.__getitem__ parameter positional-only (#15458) 2026-02-23 18:06:19 +01:00
Randolf Scholz 24827c4590 Made parameters of collections.abc members positional only (#15305) 2026-02-22 20:23:45 +01:00
Jack O'Connor 9cd3428757 [asyncio] Remove redundant overload of asyncio.wait (#15444) 2026-02-21 21:47:05 +01:00
Brian Schubert 0783075d6f [opcode] Remove concrete values from unstable opcode constants (#15447) 2026-02-21 19:04:20 +01:00
Brian Schubert a3d69472e2 [pickle] Fix value of pickle.DEFAULT_PROTOCOL for Python <3.14 (#15446) 2026-02-21 19:03:39 +01:00
Emmanuel Ferdman 9e6b58fad0 [multiprocessing.queues] Add missing pickle methods (#15424) 2026-02-20 19:52:09 +01:00
Semyon Moroz 0c2dae45f1 [multiprocessing] Update to 3.14 (#15427) 2026-02-20 18:41:04 +01:00
Semyon Moroz 637ece0f0d [_thread] Deprecate undocumented synonyms (#15436) 2026-02-18 10:30:11 +01:00
Brian Schubert d4a1c39d5c Make filename, stream, and handlers parameters of logging.basicConfig mutually-exclusive (#15435) 2026-02-18 09:49:35 +01:00
Ali Hamdan 2b2a93d632 stdlib: add default values to logging.basicConfig (#15433) 2026-02-16 17:00:34 -05:00
J Rob Gant da3de3ac09 [logging] Allow FileHandler.stream to be None (#15378) 2026-02-12 14:38:18 +01:00
Cody Scott e0aed2c49e [socket] Match getaddrinfo() port types in create_connection() (#15386) 2026-02-12 12:26:30 +01:00
Emmanuel Ferdman a19c15d754 [typing] Add missing _from_iterable classmethod to Set ABCs (#15331) 2026-02-12 12:12:10 +01:00
Sebastian Rittau a6fba4f147 Update project.requires-python to >=3.10 (#15402) 2026-02-09 16:48:13 +01:00
Guo Ci da6e5e9d8a Replace int | SupportsIndex with SupportsIndex (#15389) 2026-02-09 16:38:28 +01:00
Sebastian Rittau 1b9a9d74bc Remove Python 3.9 stubtest allowlists (#15403)
Move now common items to common.txt
2026-02-09 16:17:30 +01:00
Semyon Moroz 29a8b8c51a [stdlib] Ignore find_distributions problems on windows (#15392)
Closes: #15390
Also also occurred in #15389
Previous issue on linux: #14886
2026-02-08 14:15:37 -08:00
Guo Ci ae6f49adc9 [stdlib/enum] add enum.bin (#15388)
docs: https://docs.python.org/dev/library/enum.html#enum.bin
source: https://github.com/python/cpython/blob/3.11/Lib/enum.py#L132-L154
2026-02-07 19:16:36 -08:00
Semyon Moroz e56ab929fd [stdlib] Updates for Python 3.13.12 and 3.14.3 (#15371) 2026-02-04 18:21:43 -08:00
Erik Montnemery 516eed0d5f [tarfile] Fix some TarFile attributes to be non-optional (#15367) 2026-02-04 09:20:09 +01:00