Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify trivial calls of PyUnicode_FromFormat() (GH-111605) | Serhiy Storchaka | 2023-11-01 | 2 | -2/+2 | |
| | ||||||
* | gh-111089: Use PyUnicode_AsUTF8() in Argument Clinic (#111585) | Victor Stinner | 2023-11-01 | 34 | -907/+180 | |
| | | | | | | | Replace PyUnicode_AsUTF8AndSize() with PyUnicode_AsUTF8() to remove the explicit check for embedded null characters. The change avoids to have to include explicitly <string.h> to get the strlen() function when using a recent version of the limited C API. | |||||
* | gh-111495: Add tests for PyBytes and PyByteArray C API (GH-111496) | Serhiy Storchaka | 2023-11-01 | 5 | -1/+725 | |
| | ||||||
* | Simplify _PyPegen_join_names_with_dot() (GH-111602) | Serhiy Storchaka | 2023-11-01 | 1 | -32/+2 | |
| | ||||||
* | GH-111537: Avoid using `this_instr` in asserts. (GH-111600) | Mark Shannon | 2023-11-01 | 2 | -36/+24 | |
| | ||||||
* | GH-111485: Use micro-ops to split specialization code from base action ↵ | Mark Shannon | 2023-11-01 | 9 | -577/+858 | |
| | | | | (GH-111561) | |||||
* | gh-111576: Improve documention for tkinter.messagebox (GH-111578) | Serhiy Storchaka | 2023-11-01 | 1 | -10/+165 | |
| | ||||||
* | gh-111495: add stub files for C API test modules (GH-111586) | Sergey B Kirpichev | 2023-11-01 | 13 | -3/+204 | |
| | | | | | This is to reduce merge conflicts (Modules/Setup.stdlib.in) for subsequent pull requests for the issue. | |||||
* | gh-110367: Make regrtest --verbose3 compatible with --huntrleaks -jN (#111577) | Victor Stinner | 2023-11-01 | 3 | -2/+34 | |
| | | | | | "./python -m test -j1 -R 3:3 --verbose3" now works as expected, since run_single_test() does not replace sys.stdout with StringIO in this case. | |||||
* | gh-110968: Py_MOD_PER_INTERPRETER_GIL_SUPPORTED was added to 3.12 (#111584) | Victor Stinner | 2023-11-01 | 12 | -23/+23 | |
| | ||||||
* | gh-111282: Fix NamedTemporaryFile example code (GH-111283) | Krzysiek Karbowiak | 2023-10-31 | 1 | -7/+7 | |
| | ||||||
* | gh-110774: allow setting the Runner(loop_factory=...) from ↵ | Thomas Grainger | 2023-10-31 | 4 | -2/+28 | |
| | | | | | | | IsolatedAsyncioTestCase (#110776) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> | |||||
* | gh-108082: Add PyErr_FormatUnraisable() function (GH-111086) | Serhiy Storchaka | 2023-10-31 | 7 | -8/+142 | |
| | ||||||
* | gh-111420: Allow type comments in parenthesized `with` statements (#111468) | Tomas R | 2023-10-31 | 5 | -8/+32 | |
| | ||||||
* | gh-108765: Python.h no longer includes <stddef.h> on Windows (#111563) | Victor Stinner | 2023-10-31 | 3 | -3/+11 | |
| | | | | In practice, only Windows is impacted, because the HAVE_STDDEF_H macro was only defined on Windows. | |||||
* | gh-90815: Exclude mimalloc .c files from Windows build (#111532) | Dino Viehland | 2023-10-31 | 6 | -121/+13 | |
| | | | | * Don't include mimalloc .c's in Windows build * Fix warnings on Windows related to mimalloc | |||||
* | gh-102249: Expand sys.call_tracing documentation (#102806) | Quentin Peter | 2023-10-31 | 1 | -3/+17 | |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | |||||
* | gh-93607: document `root` attribute of `iterparse` (#99410) | Prometheus3375 | 2023-10-31 | 1 | -1/+3 | |
| | | | | | Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-106861: Docs: Add availability directives to all Unix-only modules (#108975) | xzmeng | 2023-10-31 | 9 | -6/+14 | |
| | ||||||
* | gh-111062: CI: Rename reusable-build-[X].yml to reusable-[X].yml (#111552) | Hugo van Kemenade | 2023-10-31 | 4 | -6/+6 | |
| | ||||||
* | gh-109181: Speed up Traceback object creation by lazily compute the line ↵ | Pablo Galindo Salgado | 2023-10-31 | 2 | -6/+31 | |
| | | | | | number (#111548) Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | |||||
* | GH-111438: Add Support for Sharing Floats Between Interpreters (gh-111439) | Anthony Shaw | 2023-10-31 | 4 | -2/+34 | |
| | | | This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c). | |||||
* | GH-111485: Remove some special cases from the code generator and bytecodes.c ↵ | Mark Shannon | 2023-10-31 | 8 | -55/+119 | |
| | | | | (GH-111540) | |||||
* | GH-111485: Increment `next_instr` consistently at the start of the ↵ | Mark Shannon | 2023-10-31 | 11 | -521/+1079 | |
| | | | | instruction. (GH-111486) | |||||
* | gh-111531: Tkinter: fix reference leaks in bind_class() and bind_all() ↵ | Serhiy Storchaka | 2023-10-31 | 2 | -2/+4 | |
| | | | | (GH-111533) | |||||
* | gh-111301: Move importlib.resources changes to the Removed section (#111509) | Karolina Surma | 2023-10-31 | 1 | -14/+18 | |
| | ||||||
* | gh-111301: Move `importlib.resources.files` change to What's new in Python ↵ | Karolina Surma | 2023-10-31 | 2 | -1/+3 | |
| | | | | 3.12 (#111512) | |||||
* | gh-111062 CI: Update skip lists for resuable workflows (#111521) | Hugo van Kemenade | 2023-10-31 | 1 | -6/+8 | |
| | | | CI: Update skip lists | |||||
* | gh-111277: In summarize_stats.py, don't fail fast on invalid ratios (#111278) | Michael Droettboom | 2023-10-31 | 1 | -3/+5 | |
| | ||||||
* | gh-109329: Count tier2 opcode misses (#110561) | Michael Droettboom | 2023-10-31 | 5 | -4/+9 | |
| | | | This keeps a separate 'miss' counter for each micro-opcode, incremented whenever a guard uop takes a deoptimization side exit. | |||||
* | gh-76785: Move the Cross-Interpreter Code to Its Own File (gh-111502) | Eric Snow | 2023-10-30 | 18 | -760/+849 | |
| | | | This is partly to clear this stuff out of pystate.c, but also in preparation for moving some code out of _xxsubinterpretersmodule.c. This change also moves this stuff to the internal API (new: Include/internal/pycore_crossinterp.h). @vstinner did this previously and I undid it. Now I'm re-doing it. :/ | |||||
* | gh-110697: Use CLOCK_RES in test_os.TimerfdTests (#111529) | Victor Stinner | 2023-10-30 | 1 | -6/+6 | |
| | | | | More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time. | |||||
* | gh-90815: Fix mimalloc atomic.h on Windows arm64 (#111527) | Victor Stinner | 2023-10-30 | 1 | -1/+1 | |
| | | | | | | | mi_atomic_load_explicit() casts 'p' argument to drop the 'const' qualifier on Windows arm64 platform. Fix the compiler warning: 'function': different 'const' qualifiers (compiling source file ..\Objects\mimalloc\options.c) | |||||
* | gh-90815: Fix mimalloc build on WASI (#111524) | Victor Stinner | 2023-10-30 | 1 | -0/+1 | |
| | | | Include <unistd.h> to get sbrk() function. | |||||
* | gh-90815: Fix _PyMem_MimallocEnabled() compiler warning (#111522) | Victor Stinner | 2023-10-30 | 1 | -6/+6 | |
| | | | | | | Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is not defined (./configure --without-pymalloc). Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks(). | |||||
* | Remove myself from typing CODEOWNERS (#111523) | Ken Jin | 2023-10-30 | 1 | -1/+1 | |
| | ||||||
* | gh-111181: Fix enum doctests (GH-111180) | Nikita Sobolev | 2023-10-30 | 3 | -15/+22 | |
| | | | Co-authored-by: Ethan Furman <ethan@stoneleaf.us> | |||||
* | gh-111366: Correctly show custom syntax error messages in the codeop module ↵ | Pablo Galindo Salgado | 2023-10-30 | 3 | -5/+30 | |
| | | | | functions (#111384) | |||||
* | gh-111284: Make multiprocessing tests with threads faster and more reliable ↵ | Serhiy Storchaka | 2023-10-30 | 1 | -9/+21 | |
| | | | | (GH-111285) | |||||
* | gh-110481: Fix _Py_ThreadId for non-free-threaded mode (gh-111503) | Donghee Na | 2023-10-30 | 1 | -3/+1 | |
| | ||||||
* | gh-108082: C API: Add tests for PyErr_WriteUnraisable() (GH-111455) | Serhiy Storchaka | 2023-10-30 | 3 | -0/+70 | |
| | | | | Also document the behavior when called with NULL. | |||||
* | gh-109515: When generating deep frozen modules on Windows, use a list file ↵ | Riccardo Ghetta | 2023-10-30 | 3 | -30/+78 | |
| | | | | instead of arguments (GH-109516) | |||||
* | gh-110481: Implement biased reference counting (gh-110764) | Sam Gross | 2023-10-30 | 29 | -52/+511 | |
| | ||||||
* | gh-90815: Add mimalloc memory allocator (#109914) | Dino Viehland | 2023-10-30 | 61 | -158/+16789 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add mimalloc v2.12 Modified src/alloc.c to remove include of alloc-override.c and not compile new handler. Did not include the following files: - include/mimalloc-new-delete.h - include/mimalloc-override.h - src/alloc-override-osx.c - src/alloc-override.c - src/static.c - src/region.c mimalloc is thread safe and shares a single heap across all runtimes, therefore finalization and getting global allocated blocks across all runtimes is different. * mimalloc: minimal changes for use in Python: - remove debug spam for freeing large allocations - use same bytes (0xDD) for freed allocations in CPython and mimalloc This is important for the test_capi debug memory tests * Don't export mimalloc symbol in libpython. * Enable mimalloc as Python allocator option. * Add mimalloc MIT license. * Log mimalloc in Lib/test/pythoninfo.py. * Document new mimalloc support. * Use macro defs for exports as done in: https://github.com/python/cpython/pull/31164/ Co-authored-by: Sam Gross <colesbury@gmail.com> Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> | |||||
* | gh-111062: Reusable Windows build that supports free-threaded mode as the ↵ | Donghee Na | 2023-10-30 | 2 | -49/+63 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | conditional CI (#111493) * gh-111062 Set up free-threaded CI for windows Co-authored-by: Donghee Na <donghee.na@python.org> * Apply suggestions from code review Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> * Update * Update names * Add files * Update * Revert "Update" This reverts commit 4f17e1af0dbce3b7959b93b41baaf040dee790cc. * fix --------- Co-authored-by: juanjose.tenorio <juanjose2611@gmail.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | |||||
* | gh-111062: Update name of reusable workflows for Ubuntu / macOS (gh-111494) | Donghee Na | 2023-10-30 | 2 | -0/+2 | |
| | | | gh-111062 Update name of reusable workflows for linux / macOS | |||||
* | gh-111062: Reusable ubuntu build that supports free-threaded mode as the ↵ | NCLI | 2023-10-30 | 2 | -58/+91 | |
| | | | | | | conditional CI (#111452) Co-authored-by: Donghee Na <donghee.na92@gmail.com> | |||||
* | gh-106168: Check allocated instead of size index bounds in PyList_SET_ITEM() ↵ | scoder | 2023-10-30 | 1 | -1/+1 | |
| | | | | | (#111480) Check the index bound assertions in PyList_SET_ITEM() against [0:allocated] instead of [0:size] to re-allow valid use cases that assign within the allocated area. | |||||
* | GH-111339: Fix initialization and finalization of static optimizer types ↵ | Savannah Ostrowski | 2023-10-29 | 4 | -19/+26 | |
| | | | | (GH-111430) | |||||
* | gh-111165: Remove documentation for moved functions (GH-111467) | Serhiy Storchaka | 2023-10-29 | 1 | -10/+0 | |
| |