summaryrefslogtreecommitdiffstats
path: root/Python
Commit message (Collapse)AuthorAgeFilesLines
* gh-142448: Disable JIT tracing when monitoring is enabled (GH-142842)Ken Jin2025-12-232-6/+16
|
* gh-138122: Add blocking mode for accurate stack traces in Tachyon (#142998)Pablo Galindo Salgado2025-12-231-1/+16
|
* gh-134584: Eliminate redundant refcounting from `_LOAD_ATTR_WITH_HINT` ↵Hai Zhu2025-12-235-15/+27
| | | | | (GH-143062) Eliminate redundant refcounting from _LOAD_ATTR_WITH_HINT
* GH-139922: Tail calling for MSVC (VS 2026) (GH-143068)Chris Eibl2025-12-226-665/+485
| | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandt@python.org> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-139109: Add terminator to JIT code when halting due to invalid ↵Ken Jin2025-12-221-1/+1
| | | | | | | | | | | dependencies (#143033) * Add terminator to JIT code when halting due to invalid dependencies * 📜🤖 Added by blurb_it. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* GH-142513: fix missing return in executor_clear (GH-143073)Chris Eibl2025-12-221-0/+1
| | | fix missing return in executor_clear
* gh-143057: avoid locking in `tracemalloc` C-APIs when it is not enabled ↵Kumar Aditya2025-12-221-2/+11
| | | | (#143065)
* gh-142476: Fix Windows crashing with JIT (GH-143021)Ken Jin2025-12-221-1/+1
| | | Fix Windows crashing with JIT
* gh-120321: Make gi_frame_state transitions atomic in FT build (gh-142599)Sam Gross2025-12-195-52/+123
| | | | | | | | | | | | | This makes generator frame state transitions atomic in the free threading build, which avoids segfaults when trying to execute a generator from multiple threads concurrently. There are still a few operations that aren't thread-safe and may crash if performed concurrently on the same generator/coroutine: * Accessing gi_yieldfrom/cr_await/ag_await * Accessing gi_frame/cr_frame/ag_frame * Async generator operations
* gh-142476: fix memory leak when creating JIT executors (GH-142492)Shamil2025-12-191-2/+7
|
* gh-134584: JIT: Borrow references for immortal promoted globals (GH-142921)Ken Jin2025-12-192-4/+24
| | | JIT: Borrow references for immortal promoted globals
* gh-142776: Ensure fp file descriptor is closed on all code paths in import.c ↵stratakis2025-12-191-10/+4
| | | | (GH-142777)
* gh-142961: Fix constant folding len(tuple) in JIT (GH-142963)Ken Jin2025-12-194-8/+123
|
* JIT: Rename trampoline.c to shim.c (#142974)Diego Russo2025-12-193-12/+12
|
* GH-134584: Remove redundant refcount for `BINARY_OP_SUBSCR_STR_INT` (#142844)Savannah Ostrowski2025-12-185-23/+46
|
* gh-134584: Eliminate redundant refcounting from _BINARY_OP_SUBSCR_LIST_INT ↵LloydZ2025-12-185-33/+51
| | | | (GH-142926)
* gh-142890: remove unnecessary interp parameter from dict functions and ↵Kumar Aditya2025-12-183-3/+3
| | | | `_PyDict_NotifyEvent` (#142923)
* GH-142513: Reimplement executor management (GH-142931)Mark Shannon2025-12-183-98/+90
| | | | | * Invalidating an executor does not cause arbitrary code to run * Executors are only freed at safe points
* gh-142419: Add mmap.set_name method for user custom annotation (gh-142480)Donghee Na2025-12-183-3/+4
|
* gh-134584: Remove redundant refcount from _BINARY_OP_ADD_UNICODE (gh-142825)Donghee Na2025-12-185-83/+98
|
* GH-100964: Fix reference cycle in exhausted generator frames (#141112)Savannah Ostrowski2025-12-171-1/+1
|
* gh-142849: Fix segfault in `executor_to_gv` (GH-142885)Ken Jin2025-12-171-2/+2
| | | Fix segfault in `executor_to_gv`
* gh-142873: Do not check for `PyContextVar_CheckExact` twice in ↵sobolevn2025-12-171-12/+0
| | | | `PyContextVar_Set` (#142874)
* GH-142621: JIT: Avoid memory load for symbols within 4GB on AArch64 (GH-142820)Mark Shannon2025-12-171-0/+9
|
* gh-142543: Mark tracer functions as Py_NO_INLINE (GH-142846)Ken Jin2025-12-171-3/+5
|
* gh-134584: Eliminate redundant refcounting from `_STORE_ATTR_WITH_HINT` ↵Nadeshiko Manju2025-12-165-12/+43
| | | | | (GH-142767) Signed-off-by: Manjusaka <me@manjusaka.me>
* gh-134584: Eliminate redundant refcounting from `_LOAD_ATTR_INSTANCE_VALUE` ↵Nadeshiko Manju2025-12-165-16/+110
| | | | | (GH-142769) Signed-off-by: Manjusaka <me@manjusaka.me>
* GH-142629: JIT: Fix out of bounds memory read in lltrace (GH-142821)Mark Shannon2025-12-161-1/+1
| | | JIT: Fix out of bounds memory read in lltrace
* Make RESUME monitoring more readable and robust (GH-142136)Gabriele N. Tornetta2025-12-162-2/+2
|
* GH-134584: Remove redundant refcount from `_STORE_ATTR_SLOT` (#142729)Savannah Ostrowski2025-12-155-11/+46
|
* gh-142737: Handle lost `io.open` in `_Py_FindSourceFile` (GH-142747)Bartosz Sławecki2025-12-151-0/+3
|
* gh-134584: JIT: Eliminate redundant refcount ops for X_INT (GH-142765)Ken Jin2025-12-155-456/+204
|
* gh-134584: Eliminate redundant refcounting from `_STORE_ATTR_INSTANCE_VALUE` ↵Nadeshiko Manju2025-12-155-11/+44
| | | | | (GH-142759) Signed-off-by: Manjusaka <me@manjusaka.me>
* gh-134584: Remove custom float decref ops (GH-142576)Ken Jin2025-12-157-1995/+1567
|
* GH-142718: JIT: Fix crash due to incorrect caching on side exits when ↵Mark Shannon2025-12-151-16/+639
| | | | | | | | exiting jitted code. (GH-142762) JIT: Fix crash due to incorrect caching on side exits when exiting jitted code. * Make sure that stack is in correct state at side exits with TOS cached values * Simplify choice of cached items for side exits
* gh-142472: Clean-up _PyStackRef functions (gh-142479)Sam Gross2025-12-151-3/+3
| | | | | | | | This combines most _PyStackRef functions and macros between the free threaded and default builds. - Remove Py_TAG_DEFERRED (same as Py_TAG_REFCNT) - Remove PyStackRef_IsDeferred (same as !PyStackRef_RefcountOnObject)
* gh-134584: Eliminate redundant refcounting from _STORE_SUBSCR_DICT (GH-142712)Donghee Na2025-12-155-18/+50
| | | Co-authored-by: Ken Jin <kenjin4096@gmail.com>
* gh-134584: Eliminate redundant refcounting from _CALL_LIST_APPEND (GH-142711)Nadeshiko Manju2025-12-155-33/+201
| | | | Signed-off-by: Manjusaka <me@manjusaka.me> Co-authored-by: Ken Jin <kenjin4096@gmail.com>
* gh-142029: Raise `ModuleNotFoundError` instead of crashing on nonexsistent ↵dr-carlos2025-12-151-10/+22
| | | | | | module name given to `create_builtin()` (#142054) Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-140414: streamline thread state access in `asyncio` (#142742)Kumar Aditya2025-12-151-2/+2
|
* gh-134584: Eliminate redundant refcounting from _STORE_SUBSCR_LIST_INT ↵Donghee Na2025-12-145-16/+73
| | | | (gh-142703)
* gh-134584: Eliminate redundant refcounting from `_CALL_BUILTION_O` (GH-142695)PuQing2025-12-144-31/+51
| | | Co-authored-by: Ken Jin <kenjin4096@gmail.com>
* gh-142666: Remove unused variable package in import logic (GH-142667)Yongtao Huang2025-12-141-2/+0
| | | | | The variable was previously used, but became unused after 133138a284b. Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
* gh-134584: Eliminate redundant refcounting from `_CALL_STR_1` (GH-136070)Nadeshiko Manju2025-12-145-36/+36
| | | Signed-off-by: Manjusaka <me@manjusaka.me>
* gh-134584: Cleanups for GH-135860 (GH-142604)Ken Jin2025-12-135-26/+33
|
* gh-140550: Correct error message for PyModExport (PEP 793) hook (GH-142583)Petr Viktorin2025-12-121-2/+2
|
* gh-134584: Revert partially GH-135860 (GH-142620)Ken Jin2025-12-126-45/+24
|
* gh-142627: Ignore anonymous mappings in Linux remote debugging (#142628)Victor Stinner2025-12-121-0/+5
|
* fix typos in crossinterp.c and qsbr.c (#142612)wangjingcun2025-12-122-2/+2
|
* gh-142571: Check for errors before calling each syscall in ↵AZero132025-12-111-6/+17
| | | | | | | | `PyUnstable_CopyPerfMapFile()` (#142460) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>