Kevin Huai
f5364ae750
gh-145866: Convert _CALL_INTRINSIC_2 to leave its inputs on the stack to be cleaned up by _POP_TOP (GH-146262)
2026-03-26 17:41:07 +08:00
Kumar Aditya
495178ab05
gh-146453: fix _PyType_LookupByVersion for types with fixed pre-defined version tags ( #146454 )
2026-03-26 14:36:55 +05:30
Sergey B Kirpichev
8e1469c952
gh-138573: Filter out failing math tests on Solaris ( #146402 )
2026-03-26 00:11:20 +01:00
Wulian233
9343518c6f
gh-146244: Fix initconfig.c SET_ITEM macro leaks dict on expression failure (GH-146246)
2026-03-25 19:09:56 +00:00
johnthagen
4447f23f40
Fix typo in 3.14 What's New tail call interpreter docs (GH-146425)
2026-03-25 14:53:25 -04:00
Victor Stinner
0055140b2c
gh-146358: Fix warnings.catch_warnings on Free Threading ( #146374 )
...
catch_warnings now also overrides warnings.showwarning() on Free
Threading to support custom warnings.showwarning().
2026-03-25 14:34:50 +01:00
Brandon
04bd54305a
gh-146386: fix missing va_end in _abiinfo_raise in modsupport.c ( #146387 )
2026-03-25 18:24:08 +05:30
clintonsteiner
4240c7dd74
gh-145098: Run Apple Silicon macOS CI on macos-26 (Tahoe) ( #145099 )
2026-03-25 13:15:46 +02:00
Hugo van Kemenade
d0e66ef1c0
gh-146369: Ensure PYTHON_LAZY_IMPORTS=none overrides __lazy_modules__ ( #146371 )
2026-03-25 11:08:45 +00:00
Hood Chatham
2be147e1e7
gh-146352: In Emscripten pyrepl test, pick port dynamically ( #146375 )
...
Dynamically allocates the port for the pyrepl browser test, so that multiple
tests can run at the same time. Also allows the pyrepl test to honor the
CROSS_BUILD_DIR environment variable.
2026-03-25 18:38:11 +08:00
Victor Stinner
3364e7e62f
gh-146207: Add support for OpenSSL 4.0.0 alpha1 ( #146217 )
...
OpenSSL 4.0.0 alpha1 removed these functions:
* SSLv3_method()
* TLSv1_method()
* TLSv1_1_method()
* TLSv1_2_method()
Other changes:
* Update test_openssl_version().
* Update multissltests.py for OpenSSL 4.
* Add const qualifier to fix compiler warnings.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2026-03-25 07:44:47 +01:00
Brandon
08f6b33bf3
gh-146355: Fix main_module ref leak in _PyRun_SimpleStringFlagsWithName ( #146356 )
2026-03-25 07:36:59 +01:00
Sergey B Kirpichev
f2fcc49467
gh-145633: Remove remnants of the "unknown_format" (floats) in the struct module ( #146189 )
2026-03-25 07:23:44 +01:00
Sergey B Kirpichev
f4d1be46b4
gh-145633: Drop runtime checks for floatting-point formats in the array module ( #146162 )
2026-03-25 07:06:38 +01:00
Sam Gross
60093096ba
gh-146041: Avoid lock in sys.intern() for already interned strings (gh-146072)
...
Fix free-threading scaling bottleneck in sys.intern and `PyObject_SetAttr` by
avoiding the interpreter-wide lock when the string is already interned and
immortalized.
2026-03-24 14:29:37 -04:00
Brandt Bucher
535b09c19d
GH-126910: Allow most native profilers and debuggers to unwind through JIT frames (GH-143548)
2026-03-25 02:09:35 +08:00
Karolina Surma
1887a95f51
gh-128341: Use _Py_ABI_SLOT in stdlib modules ( #145770 )
...
Rename from _Py_INTERNAL_ABI_SLOT to _Py_ABI_SLOT
and define the macro using _PyABIInfo_DEFAULT.
Use the ABI slot in stdlib extension modules to enable running
a check of ABI version compatibility.
_tkinter, _tracemalloc and readline don't use the slots, hence they need
explicit handling.
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-03-24 17:47:55 +00:00
Petr Viktorin
119fce7b88
gh-144984: Skip test under tracerefs (GH-146218)
2026-03-24 17:34:12 +01:00
Pieter Eendebak
951675c18a
gh-146306: JIT: Optimize float operations by mutating uniquely-referenced operands in place (GH-146307)
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 21:16:02 +08:00
Sergey B Kirpichev
68c7fad757
gh-138580: Add sys.float_info.iec_60559 boolean flag ( #138811 )
...
This value indicating support the IEC 60559 floating-point standard (the
Annex F of C99). If enabled, the float type characteristics matches the
IEC 60559 double format and exceptional cases for the math's functions
follow to the section F.10 of the C99 standard.
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2026-03-24 11:36:15 +00:00
Neko Asakura
6d73bc2267
gh-145866: Convert DICT_MERGE to leave its inputs on the stack to be cleaned up by _POP_TOP (GH-146329)
2026-03-24 18:31:41 +08:00
Hugo van Kemenade
07a555d4fc
gh-133879: Copyedit "What's new in Python 3.15" ( #146345 )
2026-03-24 11:01:26 +02:00
Stan Ulbrych
95340ef63a
Remove inactive CODEOWNERS ( #145930 )
2026-03-24 02:09:49 +01:00
Parman Mohammadalizadeh
fae5761a76
gh-140196: Added constructor behavior changes in ast.rst for python 3.13 (GH-140243)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2026-03-24 01:51:31 +01:00
Victor Stinner
bcff99cb3f
gh-146202: Create tmp_dir in regrtest worker ( #146347 )
...
Create tmp_dir in libregrtest.worker since the directory can be
different than the --tempdir directory.
2026-03-23 23:47:47 +00:00
Chris Eibl
306c556fdb
gh-144319: obtain SeLockMemoryPrivilege on Windows ( #144928 )
2026-03-23 23:00:26 +00:00
Brij Kapadia
e017971eb9
gh-146199: Fix error handling in code_richcompare when PyObject_RichCompareBool fails ( #146200 )
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-03-23 23:41:53 +01:00
Hood Chatham
7dc2f52a6f
gh-146197: Include a bit more information in sys._emscripten_info.runtime ( #146346 )
2026-03-23 21:57:23 +00:00
Daniele Parmeggiani
daa159f98b
gh-135871: Reload lock internal state while spinning in PyMutex_LockTimed (gh-146064)
...
Add atomic loads in the slow path of PyMutex to increase the number
of lock acquisitions per second that threads can make on a shared mutex.
2026-03-23 16:55:06 -04:00
Charlie Lin
821581adae
gh-145719: Add .efi file detection in mimetypes ( #145720 )
...
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-23 22:16:41 +02:00
Victor Stinner
a57209eb98
gh-146197: Run -m test.pythoninfo on the Emscripten CI ( #146332 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-23 17:23:25 +00:00
Hood Chatham
0c83e8bed8
gh-146325: Use test.support.requires_fork in test_fastpath_cache_cleared_in_forked_child ( #146330 )
2026-03-23 16:56:11 +02:00
Hood Chatham
c94048be02
gh-146197: Add Emscripten to CI ( #146198 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-23 16:34:53 +02:00
Jason R. Coombs
f5d47fceb0
gh-143387: Raise an exception instead of returning None when metadata file is missing. ( #146234 )
2026-03-23 09:12:36 -04:00
Petr Viktorin
1114d7f7f8
gh-108907: ctypes: Document _type_ codes (GH-145837)
...
Add `_SimpleCData._type_` docs.
Add type codes to the summary table.
Cross-link `struct`, `array`, and `ctypes`; throw in `numpy` too.
(Anyone wanting to add a code should be aware of those.)
Add `py_object`, and `VARIANT_BOOL` for completeness.
2026-03-23 13:41:38 +01:00
Petr Viktorin
91cd2e5806
gh-146175: Soft-deprecate outdated macros; convert internal usage (GH-146178)
...
Co-authored-by: Victor Stinner <vstinner@python.org>
2026-03-23 12:42:09 +01:00
Victor Stinner
90f9991abb
gh-146056: Rework ref counting in treebuilder_handle_end() ( #146167 )
...
Use more regular code to handle reference counting in
treebuilder_handle_end().
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2026-03-23 12:17:54 +01:00
Stan Ulbrych
fb8d8d9c9f
Add a warning about untrusted input to configparser docs ( #146276 )
2026-03-22 19:58:31 -04:00
Serhiy Storchaka
4561f6418a
gh-145264: Do not ignore excess Base64 data after the first padded quad (GH-145267)
...
Base64 decoder (see binascii.a2b_base64(), base64.b64decode(), etc)
no longer ignores excess data after the first padded quad in non-strict
(default) mode. Instead, in conformance with RFC 4648, it ignores the
pad character, "=", if it is present before the end of the encoded data.
2026-03-22 23:12:58 +02:00
Pablo Galindo Salgado
ae6adc9079
gh-146308: Fix error handling issues in _remote_debugging module ( #146309 )
2026-03-22 21:12:02 +00:00
kangtastic
b4e5bc2164
gh-146192: Add base32 support to binascii (GH-146193)
...
Add base32 encoder and decoder functions implemented in
C to the binascii module and use them to greatly improve the
performance and reduce the memory usage of the existing
base32 codec functions in the base64 module.
2026-03-22 23:10:28 +02:00
flow
a17301ab3d
gh-135953: Properly obtain main thread identifier in Gecko Collector ( #146045 )
2026-03-22 18:53:00 +00:00
reiden
e36f8db7e5
gh-143414: Implement unique reference tracking for JIT, optimize unpacking of such tuples (GH-144300)
...
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
2026-03-23 00:57:23 +08:00
Sacul
1ceb1fb284
gh-146261: Fix bug in _Py_uop_sym_set_func_version (GH-146291)
2026-03-23 00:11:37 +08:00
Serhiy Storchaka
161329cde2
gh-145144: Add more tests for UserList, UserDict, etc (GH-145145)
2026-03-22 16:22:25 +02:00
Serhiy Storchaka
97c725cd39
gh-143959: Fix test_datetime if _datetime is unavailable (GH-145248)
2026-03-22 16:15:35 +02:00
AN Long
c30fae4bea
gh-146245: Fix reference and buffer leaks via audit hook in socket module (GH-146248)
2026-03-22 13:29:34 +02:00
Stan Ulbrych
f0aeabc6f9
gh-140049: Colorize exception notes in traceback.py ( #140051 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-22 08:54:43 +00:00
Serhiy Storchaka
3776aba204
Update docs for gh-146056 (GH-146213)
2026-03-22 09:29:04 +02:00
Hugo van Kemenade
83360b5869
Docs: replace all datetime imports with import datetime as dt ( #145640 )
2026-03-21 18:02:06 +02:00