]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Sam Gross [Sat, 22 Mar 2025 15:46:36 +0000 (11:46 -0400)]
gh-131566: Skip `test_tracemalloc_track_race` under TSAN (gh-131567)
The test has data race when setting the global "raw" memory allocator.
Victor Stinner [Sat, 22 Mar 2025 09:38:47 +0000 (10:38 +0100)]
gh-131296: fix clang-cl warning in tracemalloc.c (#131514)
Always set MAX_NFRAME to UINT16_MAX.
Avoid the complicated code which emitted a compiler warning.
gh-131457: Fix typo in BNF description of function signatures (#131460)
Victor Stinner [Fri, 21 Mar 2025 23:37:49 +0000 (00:37 +0100)]
gh-131238: Add missing pycore_function.h includes for JIT compiler (#131571)
Dino Viehland [Fri, 21 Mar 2025 22:58:32 +0000 (15:58 -0700)]
gh-130312: SET_ADD should not lock (#130136)
SET_ADD should not lock
Victor Stinner [Fri, 21 Mar 2025 22:24:14 +0000 (23:24 +0100)]
gh-131238: Move _Py_VISIT_STACKREF() to pycore_stackref.h (#131560)
* Move _Py_VISIT_STACKREF() from pycore_gc.h to pycore_stackref.h.
* Remove pycore_interpframe.h include from pycore_genobject.h.
* Remove now useless includes from C files.
* Add pycore_interpframe_structs.h to Makefile.pre.in and
pythoncore.vcxproj.
Barney Gale [Fri, 21 Mar 2025 22:18:20 +0000 (22:18 +0000)]
GH-128520: pathlib ABCs: allow tests to be run externally (#131315)
Adjust the tests for the `pathlib.types` module so that they can be run
against the `pathlib-abc` PyPI package, which is a backport of the module
for older Python versions.
Specifically, we add a `.support.is_pypi` switch that is false in the
stdlib and true in the pathlib-abc package. This controls which package
we import, and whether or not we run tests against `PurePath` and `Path`.
For compatibility with older Python versions, we stop using
`zipfile.ZipFile.mkdir()` and `zipfile.ZipInfo._for_archive()`.
Sam Gross [Fri, 21 Mar 2025 19:16:08 +0000 (15:16 -0400)]
gh-117657: Skip some tests when running with TSAN (gh-131555)
The subinterpreter tests have data races (see gh-129824).
TSAN attempts to intercept some of the fatal signals, which can lead to
bogus reports. We could possibly handle these via TSAN_OPTIONS, but it's
simpler to just skip those tests -- they're not multithreaded anyways.
Savannah Ostrowski [Fri, 21 Mar 2025 18:23:12 +0000 (11:23 -0700)]
GH-130415: Optimize constant comparison in JIT builds (GH-131489)
Sam Gross [Fri, 21 Mar 2025 18:22:37 +0000 (14:22 -0400)]
gh-117657: Fix TSAN data race in _PyEval_SetTrace assertion (gh-131561)
The `sys_tracing_threads` variable should be read inside `LOCK_SETUP()`.
Irit Katriel [Fri, 21 Mar 2025 18:05:47 +0000 (18:05 +0000)]
gh-131233: remove return-in-finally in multiprocessing/connection.py (#131416)
Łukasz Langa [Fri, 21 Mar 2025 17:27:35 +0000 (18:27 +0100)]
gh-131507: Refactor screen and cursor position calculations (GH-131547)
This is based off #131509.
Victor Stinner [Fri, 21 Mar 2025 17:19:47 +0000 (18:19 +0100)]
gh-131238: Add pycore_interpframe_structs.h header (#131553)
Add an explicit include to pycore_interpframe_structs.h in
pycore_runtime_structs.h to fix a dependency cycle.
Victor Stinner [Fri, 21 Mar 2025 16:44:10 +0000 (17:44 +0100)]
gh-131238: Remove pycore_object_deferred.h from pycore_object.h (#131549)
Remove also pycore_function.h from pycore_typeobject.h.
Victor Stinner [Fri, 21 Mar 2025 15:24:15 +0000 (16:24 +0100)]
gh-131238: Add pycore_interpframe.h to PYTHON_HEADERS (#131545)
Add pycore_interpframe.h to Makefile.pre.in and pythoncore.vcxproj.
Sam Gross [Fri, 21 Mar 2025 15:10:07 +0000 (11:10 -0400)]
gh-128421: Add locking to most frame object functions (gh-131479)
This makes more operations on frame objects thread-safe in the free
threaded build, which fixes some data races that occurred when passing
exceptions between threads.
However, accessing local variables from another thread while its running
is still not thread-safe and may crash the interpreter.
Łukasz Langa [Fri, 21 Mar 2025 14:48:10 +0000 (15:48 +0100)]
gh-131507: Clean up tests and type checking for `_pyrepl` (#131509)
Mark Shannon [Fri, 21 Mar 2025 11:38:17 +0000 (11:38 +0000)]
GH-131513: Cases generator: Allow dead inputs to be reassigned (GH-131515)
Xavier G. [Fri, 21 Mar 2025 10:12:35 +0000 (11:12 +0100)]
gh-131268: Implement thread names on OpenBSD (#131528)
Stan Ulbrych [Fri, 21 Mar 2025 03:47:09 +0000 (03:47 +0000)]
gh-70647: Raise a more informative error for when date is out of range (GH-131335)
More informative error messages mean less debugging what went wrong.
Tian Gao [Fri, 21 Mar 2025 00:31:55 +0000 (20:31 -0400)]
gh-120144: Disable the CALL event when possible to achieve zero overhead pdb (#131390)
Bénédikt Tran [Thu, 20 Mar 2025 23:59:41 +0000 (00:59 +0100)]
GH-131331: Rename "not" to "invert" (GH-131334)
Sam Gross [Thu, 20 Mar 2025 22:10:33 +0000 (18:10 -0400)]
gh-131269: Minor optimization in random.py (#131270)
dgpb [Thu, 20 Mar 2025 22:07:28 +0000 (00:07 +0200)]
gh-131435: random.randint optimization (gh-131436)
Thomas Grainger [Thu, 20 Mar 2025 17:06:21 +0000 (17:06 +0000)]
gh-131492, gh-131461: handle exceptions in GzipFile constructor while owning resources (#131462)
Co-authored-by: Victor Stinner <vstinner@python.org>
luccabb [Thu, 20 Mar 2025 16:44:37 +0000 (09:44 -0700)]
gh-88887: Cleanup `multiprocessing.resource_tracker.ResourceTracker` upon deletion (#130429)
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
AN Long [Thu, 20 Mar 2025 16:35:52 +0000 (01:35 +0900)]
gh-131453: Add additional constants to winsound module (GH-131454)
Chris Eibl [Thu, 20 Mar 2025 16:29:21 +0000 (17:29 +0100)]
GH-131296: fix clang-cl warnings in sysmodule.c (#131304)
Irit Katriel [Thu, 20 Mar 2025 16:11:04 +0000 (16:11 +0000)]
gh-130080: fix warnings in tests (#131471)
Mark Shannon [Thu, 20 Mar 2025 15:45:43 +0000 (15:45 +0000)]
GH-127705: Don't call _Py_ForgetReference before _Py_Dealloc (GH-131508)
Mark Shannon [Thu, 20 Mar 2025 15:39:38 +0000 (15:39 +0000)]
GH-131498: Remove conditional stack effects (GH-131499)
* Adds some missing #includes
Adam Turner [Thu, 20 Mar 2025 15:35:20 +0000 (15:35 +0000)]
gh-127833: Use `productionlist` nodes to implement the `grammar-snippet` directive (#130376)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Peter Bierma [Thu, 20 Mar 2025 12:06:59 +0000 (08:06 -0400)]
gh-127989: C API: Refer to "attached thread states" instead of the GIL (GH-127990)
Co-authored-by: Victor Stinner <vstinner@python.org>
Mark Shannon [Thu, 20 Mar 2025 11:42:54 +0000 (11:42 +0000)]
GH-130296: Remove `_PyOpcode_max_stack_effect` as it is no longer used (GH-131493)
Victor Stinner [Thu, 20 Mar 2025 11:35:23 +0000 (12:35 +0100)]
gh-131238: Remove includes from pycore_interp.h (#131495)
Remove also now unused includes in C files.
Victor Stinner [Thu, 20 Mar 2025 11:27:03 +0000 (12:27 +0100)]
gh-111178: Fix function signatures for multiple tests (#131496)
Victor Stinner [Thu, 20 Mar 2025 11:03:20 +0000 (12:03 +0100)]
Fix Windows build warnings (#131487)
Fix the following warnings:
* Modules\_io\fileio.c(1296,13): unused variable 'self'
* Modules\_io\winconsoleio.c(334,9): unused variable 'fd_is_own'
* Modules\faulthandler.c(409,11): unused variable 'flags'
* Modules\posixmodule.c(5699,9): unused variable 'pathError'
* PC\winreg.c(2077,5): suggest braces around initialization of
subobject
* PC\winreg.c(34,13): unused variable 'errNotAHandle'
* Python\fileutils.c(132,12): result of comparison of constant
1114111 with expression of type 'wchar_t' (aka 'unsigned short') is
always false
* Python\fileutils.c(58,21): unused variable 'INCOMPLETE_CHARACTER'
* Python\sysmodule.c(2534,21): unused variable 'perf_map_state'
Nybblista [Thu, 20 Mar 2025 10:12:15 +0000 (13:12 +0300)]
gh-131441: Add a set of asserts to test.test_capi.test_list (#131442)
Kumar Aditya [Thu, 20 Mar 2025 06:33:54 +0000 (12:03 +0530)]
gh-128421: add critical section around `traceback.tb_next` (#131322)
Kumar Aditya [Thu, 20 Mar 2025 06:32:05 +0000 (12:02 +0530)]
gh-131401: fix data races in exception handling (#131447)
Barney Gale [Thu, 20 Mar 2025 00:54:36 +0000 (00:54 +0000)]
GH-123599: Deprecate duplicate `pathname2url()` implementation (#127380)
Call `urllib.request.pathname2url()` from `pathlib.Path.as_uri()`, and
deprecate the duplicate implementation in `PurePath`.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Victor Stinner [Thu, 20 Mar 2025 00:47:30 +0000 (01:47 +0100)]
gh-131238: Cleanup pycore_runtime.h includes (#131486)
Victor Stinner [Wed, 19 Mar 2025 23:46:25 +0000 (00:46 +0100)]
gh-131238: Remove pycore_lock.h includes (#131483)
PyMutex type is now part of <Python.h>, it's no longer needed to
include <pycore_lock.h> to get it.
Victor Stinner [Wed, 19 Mar 2025 23:32:30 +0000 (00:32 +0100)]
gh-131238: Move pycore_obmalloc.h include to pycore_runtime_structs.h (#131482)
Move pycore_obmalloc.h include from pycore_interp_structs.h to
pycore_runtime_structs.h.
Add also comment explaining the purpose of each include in
pycore_interp_structs.h, pycore_runtime_structs.h and
pycore_structs.h.
Remove <stdbool.h> and <stddef.h> from pycore_structs.h.
Victor Stinner [Wed, 19 Mar 2025 23:13:25 +0000 (00:13 +0100)]
gh-131238: Use pycore_interp_structs.h header (#131481)
Replace pycore_runtime_structs.h include with pycore_interp_structs.h
include in internal headers.
Tomasz Pytel [Wed, 19 Mar 2025 22:29:40 +0000 (18:29 -0400)]
gh-129598: ast: allow multi stmts for ast single with ';' (#129620)
Victor Stinner [Wed, 19 Mar 2025 22:01:32 +0000 (23:01 +0100)]
gh-131238: Remove more includes from pycore_interp.h (#131480)
Barney Gale [Wed, 19 Mar 2025 21:08:32 +0000 (21:08 +0000)]
GH-123599: Remove duplicate `url2pathname()` implementation (#127237)
Call `urllib.request.url2pathname()` from `pathlib.Path.from_uri()` rather
than re-implementing it. This paves the way for solving the main issue
(ignoring local authorities and rejecting non-local ones) in urllib, not
pathlib.
Yan Yanchii [Wed, 19 Mar 2025 20:59:55 +0000 (21:59 +0100)]
gh-126835: Move constant tuple folding from ast_opt to CFG (#130769)
Chris Eibl [Wed, 19 Mar 2025 19:50:04 +0000 (20:50 +0100)]
GH-131473: Add missing %(AdditionalOptions) reference to pythoncore.vcxproj (GH-131475)
Barney Gale [Wed, 19 Mar 2025 19:33:01 +0000 (19:33 +0000)]
GH-125866: Deprecate `nturl2path` module (#131432)
Deprecate the `nturl2path` module. Its functionality is merged into
`urllib.request`.
Add `tests.test_nturl2path` to exercise `nturl2path`, as it's no longer
covered by `test_urllib`.
Diego Russo [Wed, 19 Mar 2025 19:19:21 +0000 (19:19 +0000)]
GH-130956: Only emit AArch64 trampolines for long jumps (GH-131041)
Steve Dower [Wed, 19 Mar 2025 19:03:25 +0000 (19:03 +0000)]
gh-91349: Replace zlib with zlib-ng in Windows build (GH-131438)
Adam Turner [Wed, 19 Mar 2025 18:35:11 +0000 (18:35 +0000)]
GH-121970: Extract `pydoc_topics` into a new extension (#131256)
Victor Stinner [Wed, 19 Mar 2025 17:46:24 +0000 (18:46 +0100)]
gh-131238: Remove many includes from pycore_interp.h (#131472)
Cody Maloney [Wed, 19 Mar 2025 17:27:55 +0000 (10:27 -0700)]
gh-131117: Update tp_finalize example to use PyErr_GetRaisedException (#131118)
The tp_finalize C API doc used PyErr_Fetch() and PyErr_Restore() in
its example code. That API was deprecated in 3.12.
Update to point to the suggested replacement function
PyErr_GetRaisedException() which has a sample usage.
Victor Stinner [Wed, 19 Mar 2025 17:17:44 +0000 (18:17 +0100)]
gh-130931: Add pycore_interpframe.h internal header (#131249)
Move _PyInterpreterFrame and associated functions
to a new pycore_interpframe.h header.
R. David Murray [Wed, 19 Mar 2025 17:05:09 +0000 (13:05 -0400)]
gh-90548: Make musl test skips smarter (fixes Alpine errors) (#131313)
* Make musl test skips smarter (fixes Alpine errors)
A relatively small number of tests fail when the underlying c library is
provided by musl. This was originally reported in bpo-46390 by
Christian Heimes. Among other changes, these tests were marked for
skipping in gh-31947/
ef1327e3 as part of bpo-40280 (emscripten support),
but the skips were conditioned on the *platform* being emscripten (or
wasi, skips for which ere added in
9b50585e02 ).
In gh-131071 Victor Stinner added a linked_to_musl function to enable
skipping a test in test_math that fails under musl, like it does on a
number of other platforms. This check can successfully detect that
python is running under musl on Alpine, which was the original problem
report in bpo-46390.
This PR replaces Victor's solution with an enhancement to
platform.libc_ver that does the check more cheaply, and also gets the
version number. The latter is important because the math test being
skipped is due to a bug in musl that has been fixed, but as of this
checkin date has not yet been released. When it is, the test skip can
be fixed to check for the minimum needed version.
The enhanced version of linked_to_musl is also used to do the skips of
the other tests that generically fail under musl, as opposed to
emscripten or wasi only failures. This will allow these tests to be
skipped automatically on Alpine.
This PR does *not* enhance libc_ver to support emscripten and wasi, as
I'm not familiar with those platforms; instead it returns a version
triple of (0, 0, 0) for those platforms. This means the musl tests will
be skipped regardless of musl version, so ideally someone will add
support to libc_ver for these platforms.
* Platform tests and bug fixes.
In adding tests for the new platform code I found a bug in the old code:
if a valid version is passed for version and it is greater than the
version found for an so *and* there is no glibc version, then the
version from the argument was returned. The code changes here fix
that.
* Add support docs, including for some preexisting is_xxx's.
* Add news item about libc_ver enhancement.
* Prettify platform re expression using re.VERBOSE.
Victor Stinner [Wed, 19 Mar 2025 16:33:24 +0000 (17:33 +0100)]
gh-131238: Remove pycore_runtime.h from pycore_pystate.h (#131356)
* Remove includes from pycore_pystate.h:
* pycore_runtime_structs.h
* pycore_runtime.h
* pycore_tstate.h
* pycore_interp.h
* Reorganize internal headers. Move _gc_thread_state from
pycore_interp_structs.h to pycore_tstate.h.
* Add 3 new header files to PCbuild/pythoncore.vcxproj.
Victor Stinner [Wed, 19 Mar 2025 15:54:41 +0000 (16:54 +0100)]
gh-111178: Fix function signatures in legacy_tracing.c (#131464)
Victor Stinner [Wed, 19 Mar 2025 15:54:18 +0000 (16:54 +0100)]
gh-111178: Fix function signatures in _testbuffer.c (#131463)
Petr Viktorin [Wed, 19 Mar 2025 15:42:11 +0000 (16:42 +0100)]
gh-130587: Add hand-written docs for non-OP tokens (GH-130588)
Co-authored-by: Blaise Pabon <blaise@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
Victor Stinner [Wed, 19 Mar 2025 14:23:32 +0000 (15:23 +0100)]
gh-130931: Add pycore_typedefs.h internal header (#131396)
Declare _PyInterpreterFrame and _PyRuntimeState types before
declaring their structure members. Break reference cycles between
header files.
Yuki Kobayashi [Wed, 19 Mar 2025 13:46:32 +0000 (22:46 +0900)]
Docs: Fix documentation for "PyTypeObject Definition" (GH-130936)
The structure definition for `PyTypeObject` is in `Include/cpython/object.h`,
not in `Include/object.h`.
Victor Stinner [Wed, 19 Mar 2025 13:46:17 +0000 (14:46 +0100)]
gh-111178: Fix function signatures for test_types (#131455)
Victor Stinner [Wed, 19 Mar 2025 13:42:51 +0000 (14:42 +0100)]
gh-111178: Fix function signatures for test_iter (#131456)
Furkan Onder [Wed, 19 Mar 2025 11:24:09 +0000 (14:24 +0300)]
gh-131263: Skip test_timerfd_negative on NetBSD to prevent system freeze (#131431)
Stan Ulbrych [Wed, 19 Mar 2025 10:52:03 +0000 (10:52 +0000)]
gh-130655: Add tests for `gettext.find()` (GH-130691)
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
GH-131358: Add encoding alias cseuckr for euc_kr (#131370)
* Add encoding alias cseuckr for euc_kr
* Update Misc/NEWS.d/next/Library/2025-03-17-21-35-53.gh-issue-131358.YVZ6yo.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
---------
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Kumar Aditya [Wed, 19 Mar 2025 09:05:47 +0000 (14:35 +0530)]
gh-131401: fix data race in `_PyErr_Restore` (#131406)
Andrew Svetlov [Wed, 19 Mar 2025 09:05:23 +0000 (10:05 +0100)]
gh-131417: Mention asyncio Future and Task in docs for generic classes list (#131422)
Mention asyncio Future and Task in docs for generic classes list
partev [Wed, 19 Mar 2025 07:42:47 +0000 (03:42 -0400)]
Docs: fix shell command formatting (#131310)
replace "zypper in" with "zypper install" to avoid incorrect highlighting
Russell Keith-Magee [Wed, 19 Mar 2025 00:33:31 +0000 (08:33 +0800)]
gh-121468: Ensure PDB cleans up event loop policies after using asyncio. (#131388)
Adds teardown logic, plus a change to asyncio.run usage, to avoid warnings when
running the test suite single process.
Barney Gale [Tue, 18 Mar 2025 23:37:12 +0000 (23:37 +0000)]
GH-126367: `url2pathname()`: handle NTFS alternate data streams (#131428)
Adjust `url2pathname()` to decode embedded colon characters in Windows
URIs, rather than bailing out with an `OSError`.
Malcolm Smith [Tue, 18 Mar 2025 22:30:22 +0000 (22:30 +0000)]
gh-124666: Improve thread cleanup in test_android (#131427)
Ensures that failures in test setup don't result in dangling threads.
Daniel Pope [Tue, 18 Mar 2025 21:28:00 +0000 (21:28 +0000)]
gh-130914: Make graphlib.TopologicalSorter.prepare() idempotent (#131317)
Closes #130914: Make graphlib.TopologicalSorter.prepare() idempotent
Relax the rules so that `.prepare()` can be called multiple times, provided that no work has been passed out by `.get_ready()` yet.
Yuki Kobayashi [Tue, 18 Mar 2025 16:34:01 +0000 (01:34 +0900)]
gh-118915: Document `PY_MONITORING_IS_INSTRUMENTED_EVENT` (GH-128026)
Max Bachmann [Tue, 18 Mar 2025 13:31:13 +0000 (14:31 +0100)]
gh-114917: Fix typo in getaddrinfo emulation (#131413)
Bénédikt Tran [Tue, 18 Mar 2025 12:57:15 +0000 (13:57 +0100)]
gh-131402: add HMAC-SHA3 NIST test cases (#131407)
Add NIST [1] tests for `HMAC-SHA-3/{224,256,384,512}`.
[1]: https://csrc.nist.gov/Projects/cryptographic-standards-and-guidelines/example-values
Irit Katriel [Tue, 18 Mar 2025 12:33:46 +0000 (12:33 +0000)]
gh-130080: fix warnings in tests (#131400)
Petr Viktorin [Tue, 18 Mar 2025 12:17:43 +0000 (13:17 +0100)]
gh-131261: expat/refresh.sh: Expand list of manual steps (GH-131359)
Mike Edmunds [Tue, 18 Mar 2025 11:07:17 +0000 (04:07 -0700)]
gh-121284: Fix email address header folding with parsed encoded-word (GH-122754)
Email generators using email.policy.default may convert an RFC 2047
encoded-word to unencoded form during header refolding. In a structured
header, this could allow 'specials' chars outside a quoted-string,
leading to invalid address headers and enabling spoofing. This change
ensures a parsed encoded-word that contains specials is kept as an
encoded-word while the header is refolded.
[Better fix from @bitdancer.]
---------
Co-authored-by: R David Murray <rdmurray@bitdance.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Kumar Aditya [Tue, 18 Mar 2025 10:50:47 +0000 (16:20 +0530)]
gh-128002: fix tsan race in closing socket in `test_sslproto` (#131399)
Sergey Miryanov [Tue, 18 Mar 2025 10:50:22 +0000 (15:50 +0500)]
gh-131311: Consolidate reference handling in PyCStructUnionType_update_stginfo to fix memory leak (GH-131312)
Max Bachmann [Tue, 18 Mar 2025 10:26:51 +0000 (11:26 +0100)]
gh-114917: add support for AI_NUMERICSERV in getaddrinfo emulation (#114918)
Kumar Aditya [Tue, 18 Mar 2025 10:11:43 +0000 (15:41 +0530)]
gh-128002: fix tsan race in closing socket in `test_ssl` (#131397)
Kanishk Pachauri [Tue, 18 Mar 2025 09:27:05 +0000 (09:27 +0000)]
gh-130132: properly free resources in `urrlib.urlopen` examples (#130280)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Guy Jacoby [Tue, 18 Mar 2025 09:13:26 +0000 (02:13 -0700)]
gh-131094: Refine `math.isclose` docs (#131139)
Tian Gao [Mon, 17 Mar 2025 22:34:37 +0000 (18:34 -0400)]
gh-120144: Make it possible to use `sys.monitoring` for bdb and make it default for pdb (#124533)
Erlend E. Aasland [Mon, 17 Mar 2025 22:26:27 +0000 (23:26 +0100)]
gh-131002: clarify how to enforce sqlite3 column types for generated fields (#131006)
Nybblista [Mon, 17 Mar 2025 21:22:12 +0000 (00:22 +0300)]
gh-119786: Fix _PyExecutorObject link at jit.md file (#131382)
Irit Katriel [Mon, 17 Mar 2025 20:48:54 +0000 (20:48 +0000)]
gh-130080: implement PEP 765 (#130087)
Chris Eibl [Mon, 17 Mar 2025 20:32:23 +0000 (21:32 +0100)]
GH-131278: Add option to build with computed gotos on Windows with clang-cl (GH-131279)
Kumar Aditya [Mon, 17 Mar 2025 19:22:57 +0000 (00:52 +0530)]
gh-131325: fix sendfile fallback implementation to drain data after writing to transport (#131376)
Kumar Aditya [Mon, 17 Mar 2025 18:59:18 +0000 (00:29 +0530)]
gh-116738: remove multiprocessing suppressions (#131319)
R. David Murray [Mon, 17 Mar 2025 17:56:21 +0000 (13:56 -0400)]
Fix test_pyrepl.TestDumbTerminal if PYTHON_BASIC_REPL set. (#131332)
Most of the tests that care already adjust PYTHON_BASIC_REPL as needed,
but this one doesn't, and it fails if the developer has the variable set.
Mark Shannon [Mon, 17 Mar 2025 17:23:50 +0000 (17:23 +0000)]
GH-127705: Move mortal decrefs to internal header and make sure _PyReftracerTrack is called
Mark Shannon [Mon, 17 Mar 2025 17:22:35 +0000 (17:22 +0000)]
GH-125174: Make immortality "sticky" (GH-131355)
* Use a higher threshold for immortality for INCREF than DECREF
Victor Stinner [Mon, 17 Mar 2025 16:52:59 +0000 (17:52 +0100)]
gh-131268: Adjust _PYTHREAD_NAME_MAXLEN on BSD (#131345)
Adjust _PYTHREAD_NAME_MAXLEN constant on FreeBSD and NetBSD.
Initial patch by Xavier G.
Ken Jin [Mon, 17 Mar 2025 16:36:06 +0000 (00:36 +0800)]
gh-131281: Add include for pystats builds (#131369)
Add include to for pystats builds