summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* gh-124487: Require at least Windows 10 SDK and update install check (GH-124672)Steve Dower2024-09-302-6/+7
|
* gh-123961: Add a global state to _curses (#124729)Bénédikt Tran2024-09-291-0/+1
|
* gh-124665: Add `_PyCodec_UnregisterError` and `_codecs._unregister_error` ↵Bénédikt Tran2024-09-291-0/+1
| | | | (#124677)
* generate_global_objects.py: Fix name of macro in error message (#124464)Jelle Zijlstra2024-09-271-2/+2
| | | _PyID does not exist but _Py_ID does.
* GH-123516: Improve JIT memory consumption by invalidating cold executors ↵Savannah Ostrowski2024-09-272-0/+4
| | | | | (GH-124443) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Remove some unused files related to WASM/WASI (GH-124635)Brett Cannon2024-09-263-57/+2
|
* gh-124285: Fix bug where bool() is called multiple times for the same part ↵Irit Katriel2024-09-253-9/+22
| | | | of a boolean expression (#124394)
* GH-124408: Temporarily skip test_strftime_y2k for emulated Linux JIT CI ↵Savannah Ostrowski2024-09-251-0/+1
| | | | (GH-124466)
* gh-123923: Defer refcounting for `f_funcobj` in `_PyInterpreterFrame` (#124026)Sam Gross2024-09-242-4/+17
| | | | | | Use a `_PyStackRef` and defer the reference to `f_funcobj` when possible. This avoids some reference count contention in the common case of executing the same code object from multiple threads concurrently in the free-threaded build.
* gh-119333: Add C api to have contextvar enter/exit callbacks (#119335)Jason Fried2024-09-241-0/+3
| | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Lint and format Tools/build/check-warnings.py (#124382)Hugo van Kemenade2024-09-232-7/+33
|
* gh-124102: Update internal PCbuild docs to accurately list build ↵Wulian2024-09-232-18/+9
| | | | dependencies (GH-124103)
* GH-124284: Add stats for refcount operations on immortal objects (GH-124288)Mark Shannon2024-09-231-6/+12
|
* gh-124254: Detect freethreaded MSI component when doing an upgrade on ↵Steve Dower2024-09-231-0/+1
| | | | Windows (GH-124279)
* gh-123880: Allow recursive import of single-phase-init modules (GH-123950)Petr Viktorin2024-09-201-0/+1
| | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Brett Cannon <brett@python.org>
* gh-124190: Ignore files directories check warning tooling (#124193)Nate Ohlson2024-09-183-47/+104
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-124191: Disable -Wconversion in enable safety (gh-124192)Nate Ohlson2024-09-182-474/+5
|
* gh-124064: Fix -Wconversion warnings in Parser/pegen.c (#124181)Victor Stinner2024-09-172-2/+0
|
* gh-124064: Fix -Wconversion warnings in pycore_{long,object}.h (#124177)Victor Stinner2024-09-172-10/+4
| | | | Change also the fix for pycore_gc.h and pycore_stackref.h: declare constants as uintptr_t, rather than casting constants.
* gh-124064: Fix -Wconversion warnings in pycore_{gc,list,stackref}.h (#124174)Victor Stinner2024-09-172-5/+0
|
* Tools/build/stable_abi.py: Improve ergonomics (GH-105355)Petr Viktorin2024-09-171-5/+10
| | | | | | | | | * Tools/build/stable_abi.py: Improve ergonomics - Make the manifest file argument optional - Output resolved paths with --list (getting rid of `../../`) - Mention --all or --generate-all if no actions are specified * Don't hardcode Misc/stable_abi.toml in Makefile, rely on the default
* gh-124064: Make warning emitting compiler options opt-in (#124070)Nate Ohlson2024-09-163-94/+561
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* Revert "gh-112301: Enable warning emitting options and ignore warnings in CI ↵Hugo van Kemenade2024-09-133-548/+85
| | | | (#123020)" (#124065)
* closes gh-124016: update Unicode to 16.0.0 (#124017)Benjamin Peterson2024-09-131-1/+1
|
* gh-112301: Enable warning emitting options and ignore warnings in CI (#123020)Nate Ohlson2024-09-133-85/+548
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-123961: Add `curses` prefix to global variables in `_cursesmodule.c` ↵Bénédikt Tran2024-09-131-4/+4
| | | | | (#124047) Use the `const char*` type instead of a `const *` for the encoding name.
* gh-123961: Remove global variable `ModDict` in `_cursesmodule.c` (#123962)Bénédikt Tran2024-09-131-3/+0
|
* gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` ↵Sam Gross2024-09-121-4/+10
| | | | | | | | (#123924) Use a `_PyStackRef` and defer the reference to `f_executable` when possible. This avoids some reference count contention in the common case of executing the same code object from multiple threads concurrently in the free-threaded build.
* GH-123996: Explicitly mark 'self_or_null' as an array of size 1 to ensure ↵Mark Shannon2024-09-122-5/+15
| | | | that it is kept in memory for calls (GH-124003)
* gh-123915: Ensure that Windows AMD64 and ARM64 release builds use different ↵adang13452024-09-101-1/+1
| | | | directories (GH-123918)
* gh-123892: Add "_wmi" to sys.stdlib_module_names (#123893)Victor Stinner2024-09-101-0/+1
|
* gh-121404: split compile.c into compile.c and codegen.c (#123651)Irit Katriel2024-09-091-1/+0
|
* Fix typos (#123775)algonell2024-09-091-1/+1
|
* gh-117657: Fix file descriptor race in test_socket.py (#123697)Nadeshiko Manju2024-09-061-2/+0
|
* 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`.