aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
Commit message (Collapse)AuthorAge
...
* gh-132781: fix refleaks in `crossinterp_exceptions.h` post gh-132782 (#132989)Bénédikt Tran11 days
|
* gh-132781: Make NotShareableError a TypeError Subclass (gh-132973)Eric Snow11 days
| | | It was a subclass of ValueError. However, shareability is a feature of types, not values.
* gh-132781: Cleanup Code Related to NotShareableError (gh-132782)Eric Snow11 days
| | | | | | | | | | The following are added to the internal C-API: * _PyErr_FormatV() * _PyErr_SetModuleNotFoundError() * _PyXIData_GetNotShareableErrorType() * _PyXIData_FormatNotShareableError() We also drop _PyXIData_lookup_context_t and _PyXIData_GetLookupContext().
* gh-131798: JIT: Narrow the return type of _CALL_LEN to int (#132940)Diego Russo11 days
| | | | | | Reduce unnecessary guards whenever `len()` is called and used after. Co-authored-by: Max Bernstein <tekknolagi@gmail.com>
* gh-132776: Revert Moving memoryview XIData Code to memoryobject.c (gh-132960)Eric Snow11 days
| | | This is a partial revert of gh-132821. It resolves the refleak introduced by that PR.
* gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_enabled ↵Pablo Galindo Salgado11 days
| | | | (#132959)
* gh-107954: Add audit event to PyConfig_Set() (#132958)Victor Stinner11 days
|
* gh-107954: Allow setting cpu_count in PyConfig_Set() (#132954)Victor Stinner11 days
| | | | | * gh-107954: Allow setting cpu_count in PyConfig_Set() * Update the doc
* gh-91048: Fix _testexternalinspection.c on FreeBSD (#132945)Victor Stinner11 days
|
* gh-91048: Refactor _testexternalinspection and add Windows support (#132852)Pablo Galindo Salgado12 days
|
* gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043)Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)12 days
| | | | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-132909: handle overflow for `'K'` format in `do_mkvalue` (#132911)Bénédikt Tran12 days
|
* gh-127604: Only define dump_pointer() if CAN_C_BACKTRACE (#132897)Victor Stinner12 days
|
* gh-131591: Implement PEP 768 support for FAT mac binaries and 32 bit ↵Pablo Galindo Salgado12 days
| | | | | binaries (#132892) Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* gh-132776: Cleanup for XIBufferViewType (gh-132821)Eric Snow12 days
| | | | | * add notes * rename XIBufferViewObject to xibufferview * move memoryview XIData code to memoryobject.c
* GH-131798: Split up and optimize CALL_TUPLE_1 in the JIT (GH-132851)Tomas R.12 days
|
* GH-131798: Split up and optimize CALL_STR_1 in the JIT (GH-132849)Tomas R.12 days
|
* gh-132859: Run debugger scripts in their own namespaces (#132860)Matt Wozniski13 days
| | | | | | | | Run debugger scripts in their own namespaces Previously scripts injected by `sys.remote_exec` were run with the globals of the `__main__` module. Instead, run each injected script with an empty set of globals. If someone really wants to use the `__main__` module's namespace, they can always `import __main__`.
* gh-127604: Replace dprintf() with _Py_write_noraise() (#132854)Victor Stinner13 days
|
* gh-131591: Check for remote debug in PyErr_CheckSignals (#132853)Pablo Galindo Salgado13 days
| | | | | | | | For the same reasons as running the GC, this will allow sections that run in native code for long periods without executing bytecode to also run the remote debugger protocol without having to wait until bytecode is executed Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* gh-127604: Allow faulthandler to dumpC stack on MacOS (#132841)Pablo Galindo Salgado13 days
|
* gh-132758: Fix tail call and pystats builds (GH-132759)Ken Jin14 days
|
* GH-131798: JIT: Split CALL_TYPE_1 into several uops (GH-132419)Tomas R.2025-04-22
|
* gh-132479: Fix crash with multiple comprehensions in annotations (#132778)Jelle Zijlstra2025-04-21
|
* gh-131586: Avoid refcount contention in context managers (gh-131851)Sam Gross2025-04-21
| | | | | This avoid reference count contention in the free threading build when calling special methods like `__enter__` and `__exit__`.
* gh-127604: Add C stack dumps to `faulthandler` (#128159)Peter Bierma2025-04-21
|
* GH-130415: Improve the JIT's unneeded uop removal pass (GH-132333)Brandt Bucher2025-04-21
|
* gh-132399: ensure correct alignment of `PyInterpreterState` (#132428)Bénédikt Tran2025-04-19
|
* gh-128398: improve error messages when incorrectly using `with` and `async ↵Bénédikt Tran2025-04-19
| | | | | | | with` (#132218) Improve the error message with a suggestion when an object supporting the synchronous (resp. asynchronous) context manager protocol is entered using `async with` (resp. `with`) instead of `with` (resp. `async with`).
* gh-131591: Execute the source and not the file to avoid locking it in ↵Pablo Galindo Salgado2025-04-19
| | | | | Windows (#132712) Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
* gh-132685: fix thread safety of `PyMember_GetOne` with `_Py_T_OBJECT` (#132690)Kumar Aditya2025-04-18
|
* GH-131498: Replace single-element arrays with scalars in bytecodes.c (GH-132615)Brandt Bucher2025-04-18
|
* gh-132097: use a macro for semantically casting function pointers (#132406)Bénédikt Tran2025-04-18
|
* gh-132643: use atomic load for dict in specializer (#132653)Kumar Aditya2025-04-18
|
* Remove duplicate includes: Python/importdl.c (#132623)Adam Turner2025-04-18
|
* gh-131173: Improve exception handling during take_ownership processing (#132620)Alper2025-04-17
| | | | | | Save and restore exceptions during take_ownership processing to preserve exceptions currently being raised. Co-authored-by: alperyoney <alperyoney@fb.com>
* gh-130070: Fix `exec(<string>, closure=<non-None>)` unexpected path (#130071)Bartosz Sławecki2025-04-17
| | | | | | Fixed an assertion error (so, it could be reproduced only in builds with assertions enabled) for `exec` when the `source` argument is a string and the `closure` argument is not `None`. Co-authored-by: sobolevn <mail@sobolevn.me>
* Remove duplicate includes: Python/ast_opt.c (#132621)Adam Turner2025-04-17
|
* gh-131798: Use `sym_new_type` instead of `sym_new_not_null` for ↵Nadeshiko Manju2025-04-17
| | | | | | | `_BUILD_LIST`, `_BUILD_SLICE`, and `_BUILD_MAP` (GH-132434) --------- Signed-off-by: Manjusaka <me@manjusaka.me>
* gh-129987: Selectively re-enable SLP autovectorization of ↵T. Wouters2025-04-15
| | | | | | | | _PyEval_EvalFrameDefault (#132530) Only disable SLP autovectorization of `_PyEval_EvalFrameDefault` on newer GCCs, as the optimization bug seems to exist only on GCC 12 and later, and before GCC 9 disabling the optimization has a dramatic performance impact.
* gh-124476: Fix decoding from the locale encoding in the C.UTF-8 locale ↵Serhiy Storchaka2025-04-14
| | | | (GH-132477)
* GH-131498: Cases generator: Allow input and 'peek' variables to be modified ↵Mark Shannon2025-04-14
| | | | (GH-132506)
* gh-131624: Fix posix_spawn tests failing on NetBSD with stack limit ↵Furkan Onder2025-04-13
| | | | | | assertions (GH-131625) Fix recursive limit assertions on NetBSD for posix_spawn.
* gh-131927: Prevent emitting optimizer warnings twice in the REPL (#131993)Tomas R.2025-04-12
|
* gh-125434: Fix building on OpenBSD (GH-132393)Serhiy Storchaka2025-04-12
| | | pthread_get_name_np is defined in pthread_np.h.
* gh-132399: fix invalid function signatures on the free-threaded build (#132400)Bénédikt Tran2025-04-12
|
* gh-132386: Fix a crash when passing a dict subclass to `exec` (GH-132412)Tomas R.2025-04-12
| | | | | * Fix crash when passing a dict subclass to exec * Add news entry
* GH-127682: Only call `__iter__` once in generator expressions. (GH-132351)Mark Shannon2025-04-11
|
* gh-132261: Store annotations at hidden internal keys in the class dict (#132345)Jelle Zijlstra2025-04-10
|
* GH-131296: Suppress "unused label" warning for clang-cl closer to actual ↵Chris Eibl2025-04-10
| | | | occurrence (GH-131900)