summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* gh-123700: Update OpenSSL versions in multissltests and CI (#123701)Zachary Ware2024-09-041-1/+2
| | | | Remove EOL 1.1.1w from CI and move it to the 'old' set in multissltests, add latest 3.3.2 to both CI and multissltests.
* gh-123418: Update CI to use fresh OpenSSL releases (GH-123675)Zachary Ware2024-09-041-3/+5
| | | Also adds openssl/openssl GitHub URL template for newer OpenSSL downloads
* gh-107954, PEP 741: Add PyConfig_Get()/Set() functions (#123472)Victor Stinner2024-09-022-0/+2
| | | | | | | | | | | Add PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and PyConfig_Names() functions to get and set the current runtime Python configuration. Add visibility and "sys spec" to config and preconfig specifications. _PyConfig_AsDict() now converts PyConfig.xoptions as a dictionary. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-123458: Skip SBOM generation if no git repository is detected (#123507)Seth Michael Larson2024-09-021-0/+18
|
* build(deps): bump hypothesis from 6.108.10 to 6.111.2 in /Tools (#123567)dependabot[bot]2024-09-021-1/+1
| | | | Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-setuptools from 71.1.0.20240726 to 74.0.0.20240831 in /Tools ↵dependabot[bot]2024-09-011-1/+1
| | | | | | (#123565) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump mypy from 1.11.1 to 1.11.2 in /Tools (#123566)dependabot[bot]2024-09-011-1/+1
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump types-psutil from 6.0.0.20240621 to 6.0.0.20240901 in /Tools (#123564)dependabot[bot]2024-09-011-1/+1
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* GH-115776: Allow any fixed sized object to have inline values (GH-123192)Mark Shannon2024-08-211-4/+1
|
* GH-118093: Make `CALL_ALLOC_AND_ENTER_INIT` suitable for tier 2. (GH-123140)Mark Shannon2024-08-201-0/+4
| | | | | * Convert CALL_ALLOC_AND_ENTER_INIT to micro-ops such that tier 2 supports it * Allow inexact arguments for CALL_ALLOC_AND_ENTER_INIT.
* GH-121634: have `wasi.py` accept the host target triple as an argument ↵Brett Cannon2024-08-151-6/+12
| | | | (GH-123030)
* gh-112301: Add warning count to warning check tooling (#122711)Nate Ohlson2024-08-143-14/+44
| | | | 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>
* GH-113464: Speed up JIT builds (GH-122839)Brandt Bucher2024-08-142-5/+19
|
* GH-120024: Remove `CHECK_EVAL_BREAKER` macro. (GH-122968)Mark Shannon2024-08-144-35/+1
| | | | | * Factor some instructions into micro-ops to isolate CHECK_EVAL_BREAKER for escape analysis * Eliminate CHECK_EVAL_BREAKER macro
* GH-121723: Skip test_config_queue_handler_multiprocessing_context in ↵Bénédikt Tran2024-08-131-0/+1
| | | | emulated JIT CI (#122969)
* gh-99108: Add HACL* Blake2 implementation to hashlib (GH-119316)Jonathan Protzenko2024-08-132-3/+3
| | | | | | | This replaces the existing hashlib Blake2 module with a single implementation that uses HACL\*'s Blake2b/Blake2s implementations. We added support for all the modes exposed by the Python API, including tree hashing, leaf nodes, and so on. We ported and merged all of these changes upstream in HACL\*, added test vectors based on Python's existing implementation, and exposed everything needed for hashlib. This was joint work done with @R1kM. See the PR for much discussion and benchmarking details. TL;DR: On many systems, 8-50% faster (!) than `libb2`, on some systems it appeared 10-20% slower than `libb2`.
* gh-122907: Fix Builds Without HAVE_DYNAMIC_LOADING Set (gh-122952)Eric Snow2024-08-131-0/+9
| | | As of 529a160 (gh-118204), building with HAVE_DYNAMIC_LOADING stopped working. This is a minimal fix just to get builds working again. There are actually a number of long-standing deficiencies with HAVE_DYNAMIC_LOADING builds that need to be resolved separately.
* GH-122390: Replace `_Py_GetbaseOpcode` with `_Py_GetBaseCodeUnit` (GH-122942)Mark Shannon2024-08-132-0/+2
|
* gh-117139: Replace _PyList_FromArraySteal with stack ref variant (#122830)Sam Gross2024-08-121-1/+1
| | | | | | | This replaces `_PyList_FromArraySteal` with `_PyList_FromStackRefSteal`. It's functionally equivalent, but takes a `_PyStackRef` array instead of an array of `PyObject` pointers. Co-authored-by: Ken Jin <kenjin@python.org>
* gh-122688: Fix support of var-positional parameter in Argument Clinic ↵Serhiy Storchaka2024-08-092-10/+12
| | | | | | | | | (GH-122689) * Parameters after the var-positional parameter are now keyword-only instead of positional-or-keyword. * Correctly calculate min_kw_only. * Raise errors for invalid combinations of the var-positional parameter with "*", "/" and deprecation markers.
* GH-120024: Tidy up case generator code a bit. (GH-122780)Mark Shannon2024-08-0810-100/+175
|
* gh-118926: Spill deferred references to stack in cases generator (#122748)Sam Gross2024-08-076-25/+132
| | | | | | | This automatically spills the results from `_PyStackRef_FromPyObjectNew` to the in-memory stack so that the deferred references are visible to the GC before we make any possibly escaping call. Co-authored-by: Ken Jin <kenjin@python.org>
* Bump types-setuptools to 71.1.0.20240726 in /Tools (#122551)dependabot[bot]2024-08-071-1/+1
|
* gh-112301: Add macOS warning tracking tooling (#122211)Nate Ohlson2024-08-062-53/+111
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-122686: bump hypothesis from 6.104.2 to 6.108.10 in Tools (#122729)Sergey B Kirpichev2024-08-061-4/+1
| | | This drops attrs pinning.
* GH-120024: Refactor code generators to uses classes for emitting code. ↵Mark Shannon2024-08-064-274/+272
| | | | (GH-122730)
* Fix syntax in generate_re_casefix.py (#122699)Jelle Zijlstra2024-08-061-2/+2
| | | This was broken in gh-97963.
* gh-122686: Pin attrs package (for Hypothesis workflow) (#122687)Sergey B Kirpichev2024-08-061-0/+3
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* GH-118943: Handle races when moving jit_stencils.h (GH-120690)Miro Hrončok2024-08-051-1/+6
| | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* build(deps-dev): bump mypy from 1.10.1 to 1.11.1 in /Tools (#122550)dependabot[bot]2024-08-052-2/+4
| | | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
* GH-109408: Stop running patchcheck in CI (#109895)Adam Turner2024-08-031-108/+12
|
* GH-122155: Track local variables between pops and pushes in cases generator ↵Mark Shannon2024-08-017-102/+213
| | | | (GH-122286)
* gh-112301: Add argument aliases and tee compiler output for check warnings ↵Nate Ohlson2024-07-301-1/+4
| | | | | (GH-122465) Also remove superfluous shebang from the warning check script
* gh-117657: Avoid race in `PAUSE_ADAPTIVE_COUNTER` in free-threaded build ↵Sam Gross2024-07-301-1/+0
| | | | | | | (#122190) The adaptive counter doesn't do anything currently in the free-threaded build and TSan reports a data race due to concurrent modifications to the counter.
* gh-122044: Don't error during gitignore filtering with no files (#122045)Seth Michael Larson2024-07-271-0/+4
|
* gh-112301: Compiler warning management tooling (#121730)Nate Ohlson2024-07-272-0/+198
| | | | | 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>
* gh-122201: Lock mutex when setting handling_thread to NULL (#122204)Sam Gross2024-07-261-1/+0
| | | | | In the free-threaded build, we need to lock pending->mutex when clearing the handling_thread in order not to race with a concurrent make_pending_calls in the same interpreter.
* GH-121131: Clean up and fix some instrumented instructions. (GH-121132)Mark Shannon2024-07-263-8/+5
| | | | * Add support for 'prev_instr' to code generator and refactor some INSTRUMENTED instructions
* gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271)Serhiy Storchaka2024-07-251-3/+3
|
* GH-122155: Fix cases generator to correctly compute 'peek' offset for error ↵Mark Shannon2024-07-233-6/+17
| | | | handling (GH-122158)
* GH-121970: Rewrite the C-API annotations extension (#121985)Adam Turner2024-07-191-8/+15
| | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* GH-121784: Generate an error during code gen if a variable is marked ↵Mark Shannon2024-07-185-57/+112
| | | | | | | | | | | | `unused`, but is used and thus cached in a prior uop. (#121788) * Reject uop definitions that declare values as 'unused' that are already cached by prior uops * Track which variables are defined and only load from memory when needed * Support explicit `flush` in macro definitions. * Make sure stack is flushed in where needed.
* Add note about PYTHON_JIT environment variable to JIT README (GH-121635)Savannah Ostrowski2024-07-171-2/+6
|
* GH-120371: Add WASI SDK 22 support (GH-121870)Brett Cannon2024-07-161-0/+8
| | | Required disabling stub functions now provided by wasi-libc.
* gh-117657: Remove TSAN suppressions for _abc.c (#121508)Sam Gross2024-07-101-2/+0
| | | | The functions look thread-safe and I haven't seen any warnings issued when running the tests locally.
* gh-117657: Fix TSan race in _PyDict_CheckConsistency (#121551)Sam Gross2024-07-101-8/+0
| | | | The only remaining race in dictobject.c was in _PyDict_CheckConsistency when the dictionary has shared keys.
* GH-121521: Detect when wasmtime is not installed in `Tools/wasm/wasi.py` ↵Brett Cannon2024-07-091-6/+18
| | | | (GH-121522)
* gh-117657: Fix TSAN races in setobject.c (#121511)Sam Gross2024-07-091-3/+0
| | | | | The `used` field must be written using atomic stores because `set_len` and iterators may access the field concurrently without holding the per-object lock.
* GH-118926: Better distinguish between pointer and arrays in interpreter ↵Mark Shannon2024-07-096-18/+30
| | | | generator (GH-121496)
* GH-119726: Emit AArch64 trampolines out-of-line (GH-121280)Diego Russo2024-07-031-8/+6
|