Alex Willmer
5462002bbe
gh-143513: Clarify changed argument name of ResourceReader.is_resource (GH-143523)
2026-01-08 08:40:17 -05:00
Victor Stinner
efaa56f73c
gh-143528: Fix test_time.test_thread_time() ( #143558 )
...
Tolerate 100 ms instead of 20 ms to support slow CIs.
2026-01-08 14:05:57 +01:00
Aniket
f3e069a7ab
gh-140025: Fix queue.SimpleQueue.__sizeof__() to return correct size ( #143137 )
2026-01-08 12:40:25 +00:00
Serhiy Storchaka
c07e5ec0a9
gh-143553: Add support for parametrized resources in regrtests (GH-143554)
...
For example, "-u xpickle=2.7" will run test_xpickle only against Python 2.7.
2026-01-08 13:51:38 +02:00
Bartosz Sławecki
6c9f7b4406
gh-143517: Fix an edge case in rewriting stringified starred annotations ( #143518 )
2026-01-07 19:41:27 -08:00
VanshAgarwal24036
67d3d0344f
gh-143089: Fix ParamSpec default examples to use list instead of tuple ( #143179 )
2026-01-07 19:32:44 -08:00
Sam Gross
f11f5ebfe6
gh-129824: Fix data race on runtime->gilstate.check_enabled (gh-143530)
2026-01-07 17:56:14 -05:00
Tomas R.
228d95582e
Fix a typo in STORE_SLICE docs ( #143500 )
2026-01-07 23:36:22 +01:00
Dino Viehland
bfc3d8d77f
gh-143531: Use macro to check if PEP 523 is hooked ( #143532 )
...
Use macro to check if PEP 523 is hooked
2026-01-07 13:26:19 -08:00
Savannah Ostrowski
9a3263ff8f
GH-142950: Process format specifiers before colourization in argparse help ( #142960 )
2026-01-07 17:39:47 +00:00
Sam Gross
d04394929b
gh-117657: Remove remaining TSan suppressions (gh-143499)
2026-01-07 17:34:05 +00:00
Adorilson Bezerra
51a56a3a7b
gh-106318: Add examples for str.casefold() and str.lower() methods ( #142154 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-01-07 16:16:25 +00:00
T. Wouters
b2827de18f
gh-141536: Fix a crash when running test_capi *after* test_code in the same process ( #141537 )
2026-01-07 16:40:33 +01:00
Łukasz Langa
b3e4a3462f
gh-138568: Make help mode in PyREPL not exit on empty line input ( #143512 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong0618 <zouzou0208@gmail.com>
2026-01-07 16:30:58 +01:00
Giampaolo Rodola
a1eedaee98
gh-94172: delete mention of ssl_version from ftplib doc ( #143515 )
...
`FTP_TLS.ssl_version` class attribute was removed in ef0e72b31d .
2026-01-07 15:11:50 +01:00
Petr Viktorin
8565ddd288
gh-141671: PyMODINIT_FUNC: apply __declspec(dllexport) on Windows (GH-141672)
2026-01-07 13:09:48 +01:00
Serhiy Storchaka
b866a1c73f
gh-75572: Fix test_xpickle and disable it by default (GH-143503)
2026-01-06 23:51:12 +00:00
Adorilson Bezerra
4fb6a31bce
gh-106318: Add example for str.index() ( #137023 )
2026-01-06 23:42:11 +02:00
Nadeshiko Manju
0a5c04a5ce
gh-134584: Eliminate redundant refcounting from TO_BOOL_STR (GH-143417)
...
Signed-off-by: Manjusaka <me@manjusaka.me>
2026-01-06 21:11:53 +00:00
Sam Gross
98e55d70bc
gh-132070: Fix PyObject_Realloc thread-safety in free threaded Python (gh-143441)
...
The PyObject header reference count fields must be initialized using
atomic operations because they may be concurrently read by another
thread (e.g., from `_Py_TryIncref`).
2026-01-06 15:55:37 -05:00
Ken Jin
df355348f0
gh-142982: Specialize CALL_FUNCTION_EX (GH-143391)
2026-01-06 20:34:08 +00:00
Andrii Hrimov
ff7d1cec41
gh-133315: Document that compat32 should not be used with MIMEPart/EmailMessage ( #143307 )
2026-01-06 15:18:37 -05:00
Xiao Yuan
51227b6b1a
Doc: Fix missing closing parenthesis in argparse example ( #143488 )
2026-01-06 09:53:43 -08:00
Kumar Aditya
74bb3ca1f8
gh-142863: optimize list and set calls with generator expressions ( #142864 )
2026-01-06 23:23:28 +05:30
ADITYA RAI
e79c9b7031
gh-142302: Fix mkstemp() documentation: clarify file descriptor inheritance behavior ( #142338 )
...
The documentation incorrectly stated that the file descriptor is not
inherited by child processes. In reality, the close-on-exec flag (when
available) only prevents inheritance across exec() calls, not fork().
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-01-06 17:08:25 +00:00
Ken Jin
8735daf3e8
gh-75572: Forward-port test_xpickle from Python 2 to 3 (GH-22452)
...
Move data classes used in tests to separate file test_picklecommon.py,
so it can be imported in old Python versions.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-01-06 19:03:03 +02:00
Adorilson Bezerra
7b0a372b20
gh-106318: Add examples for str.isprintable() ( #140043 )
...
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-01-06 17:43:44 +01:00
Ken Jin
90c44bc803
gh-131798: Support generator frames in the JIT optimizer (GH-143340)
2026-01-06 16:39:57 +00:00
Kumar Aditya
faa3dc7c64
gh-143469: enable LOAD_ATTR_MODULE specialization even if __getattr__ is defined ( #143470 )
2026-01-06 22:09:18 +05:30
Gleb Smirnoff
05406b221d
gh-142991: socketmodule: fixed getsockaddrlen() for PF_DIVERT socket ( #142993 )
2026-01-06 17:25:29 +01:00
reiden
54f1ed0299
gh-134584: Eliminate redundant refcounting in TO_BOOL_ALWAYS_TRUE (GH-143427)
...
Co-authored-by: Ken Jin <kenjin@python.org>
2026-01-06 16:11:56 +00:00
Ken Jin
d9c1235db4
gh-139038: Add macOS performance numbers for the JIT (GH-143479)
2026-01-06 15:19:35 +00:00
Sam Gross
841b7482dd
gh-143424: Fix assertion in _PyMutex_LockTimed (gh-143439)
...
The assertion doesn't necessarily hold for `threading.Lock`, so allow
the lock to be unlocked if `_PY_LOCK_PYTHONLOCK` is set on the flags.
2026-01-06 09:40:14 -05:00
Clay Dugo
d745b60ef2
gh-143474: Add os.RWF_ATOMIC constant (GH-143475)
2026-01-06 09:35:51 -05:00
Sam Gross
71119a164c
gh-129824: Fix data race in _PyBuiltins_AddExceptions with subinterpreters (gh-143446)
2026-01-06 09:15:55 -05:00
Semyon Moroz
dd750b3485
gh-143331: Schedule to remove format "N" for Decimal ( #143372 )
2026-01-06 15:12:05 +02:00
Hugo van Kemenade
efb4e6c733
Allow Android to fail CI (GH-143471)
2026-01-06 12:31:21 +00:00
Łukasz Langa
7dae1077cd
gh-143394: On macOS, run main PyREPL tests as "Apple Terminal" as well (GH-143461)
2026-01-06 11:10:18 +01:00
Serhiy Storchaka
4d21297d28
gh-41779: Allow defining any __slots__ for a class derived from tuple (GH-141763)
2026-01-06 11:36:00 +02:00
Kumar Aditya
d6f77e6a3f
gh-116738: make entering of contextvars.Context thread safe ( #143074 )
2026-01-06 12:24:02 +05:30
Emma Smith
12d363bb66
gh-134740: Document distribution discovery in importlib.metadata ( #134751 )
...
Document the following items listed in `__all__` but missing from
documentation:
- `distributions()`: mentioned in doc strings as well
- `DistributionFinder`: mentioned but didn't have it's own :class:
entry
- `DistributionFinder.Context`: mentioned but didn't have it's own :class:
entry)
- `Distribution.discover()`: mentioned in doc strings
Closes #134740
Partially addresses #110937
---------
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
2026-01-06 01:25:30 +00:00
Chris Eibl
04ace41fe2
gh-143394: filter for turning off automatic margins in test_no_newline (GH-143433)
2026-01-05 22:46:08 +01:00
Sam Gross
7a572d9f21
gh-143108: Don't instrument some faulthandler related functions for TSan ( #143450 )
2026-01-05 22:13:29 +01:00
Ritam Pal
240a6c3262
gh-143434: Fix typo in zstd documentation ( #143437 )
2026-01-05 11:55:11 -08:00
Ori Avtalion
1569275117
gh-138205: explicit mention to mmap.mmap.resize in "Porting to Python 3.15" notes ( #143440 )
2026-01-05 20:27:45 +01:00
Łukasz Langa
4f9a8d075e
gh-69605: In test_pyrepl.test_already_imported*, invalidate FS import caches ( #143436 )
...
This makes the test robust against file systems with low timestamp resolution, which otherwise would fail to re-import in the tight loop of the test.
2026-01-05 18:00:48 +01:00
Loïc Simon
bfac54d861
gh-69605: Check for already imported modules in PyREPL module completion (GH-139461)
...
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
2026-01-05 16:18:54 +01:00
Denizhan Dakılır
68fcb958eb
gh-143082: Make readline work when sys.stdin is explicitly passed to pdb ( #143083 )
2026-01-04 20:39:11 -08:00
Bénédikt Tran
c99f766743
gh-143309: fix test_execve_env_concurrent_mutation_with_fspath_posix buildbot failure ( #143415 )
2026-01-04 21:44:47 +01:00
Chris Eibl
e6bfe4d886
gh-139757: Add BINARY_OP_SUBSCR_USTR_INT (GH-143389)
2026-01-04 14:14:27 +00:00