Tamir Duberstein
bd18cc640c
Propagate EmailMessage generics ( #15639 )
2026-04-15 12:37:59 -07:00
Jelle Zijlstra
46b01bf323
configparser: remove unnecessary defaults from overloads ( #15641 )
...
These overloads differ from the other overloads only in the presence
of the `fallback` parameter. If the parameter is not passed, the other
overload should be taken, so `fallback` should be made required on
these overloads for clarity.
2026-04-10 20:38:41 -07:00
Sebastian Rittau
09525f9325
Unpin Python 3.13 and 3.14 ( #15634 )
2026-04-08 15:18:56 +02:00
zedzhen
7eb0dddd46
[typing_extensions] Use unconstrained type var for final ( #15622 )
...
This matches `typing.final`.
2026-04-07 11:55:19 +02:00
Jonathan Dung
68c8548b5c
[json] Use literal return type for detect_encoding ( #15609 )
2026-04-06 19:24:11 +02:00
Sebastian Rittau
1ff88bf21e
[argparse] Replace some Sequence instances with Iterable ( #15613 )
2026-04-06 18:56:05 +02:00
Petr Ledvina
4abe0b8c1b
Fix codecs.escape_decode return type ( #15531 )
...
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com >
2026-04-05 20:07:10 -04:00
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