Commit Graph

6389 Commits

Author SHA1 Message Date
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
Alan Du 31c195aacf [functools] Add __name__/__qualname__ to _lru_cache_wrapper (#15328) 2026-01-30 13:38:59 +01:00
Dutcho 8397d5678e [time] Fix parameter type of sleep et al. (#15321) 2026-01-26 11:23:30 +01:00
Semyon Moroz 0664473614 Fix grammar typos (#15324) 2026-01-25 15:23:18 +00:00
Felix Uhl 84c2067451 Make self a positional-only argument in all update overloads (#15322) 2026-01-24 22:51:47 +00:00
Randolf Scholz 35b688e98e Use contravariant type variable rather than object in Container (#15320) 2026-01-24 17:40:45 +01:00
Til Boerner 65ae6a2ebf [sqlite3] Fix type of row_factory for Connection and Cursor (#15316) 2026-01-23 14:39:04 +01:00
Bera 42f7953e7f [http.cookies] Fix wrong return type in BaseCookie.value_encode (#15267) 2026-01-23 12:39:16 +01:00
Thanos 15f6b0ac15 [contextlib] Deprecate @(async)contextmanager wrapping a function returning Iterator (#12087) 2026-01-23 12:06:18 +01:00
Randolf Scholz 5c49b1fe49 Specialize plain slice type hints (#13007) 2026-01-23 10:35:39 +01:00
Stephen Morton cc24a838fc [socket/_socket] Restore bluetooth socket constants on Linux (#15209) 2026-01-19 15:56:32 +01:00
Semyon Moroz b94c9e8e48 [dis] Deprecate show_caches parameter in get_instructions (#15294) 2026-01-16 20:24:51 +01:00
Randolf Scholz 236a8c0b08 allow arbitrary types in set difference (#15160) 2026-01-16 13:36:23 +00:00
Semyon Moroz ba6dbf4573 [urllib] Deprecate addinfourl methods (#15291) 2026-01-16 08:41:35 +01:00
Semyon Moroz ee1e94d430 [tkinter] Annotate few methods (#15273) 2026-01-16 00:28:12 +01:00
Guo Ci e872935317 [tarfile] TarFile.errorlevel can't be None (#15214) 2026-01-15 12:38:36 +01:00
savanto c06ef9d88b [imaplib] Fix append args types (#15187)
* All arguments except `message` accept `None`.
* The `date_time` argument accepts all types that `Time2Internaldate` accepts.
2026-01-15 11:18:22 +01:00
Semyon Moroz 3ecbf2ff9b [ssl] Deprecate read and write methods (#15285) 2026-01-15 11:11:02 +01:00
Semyon Moroz 4372b1d733 [ctypes] Soft deprecate ARRAY (#15204) 2026-01-15 11:09:58 +01:00
Ganden Schaffner fd895f7819 [socket] Make socketpair not support type: SocketType (#15284) 2026-01-15 08:39:35 +01:00
Victor Westerhuis cd8b26b0ce [email.utils] Remove non-existing overload of parsedate_to_datetime (#15280) 2026-01-14 15:44:11 +01:00
Liam DeVoe e887eae0d2 [itertools] More specific type hints for batched(..., strict=True) (#15277) 2026-01-14 11:50:40 +01:00