summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* [3.13] gh-133403: Check `generate_stdlib_module_names` and ↵sobolevn2025-08-133-44/+63
| | | | | `check_extension_modules` with mypy (GH-137546) (#137691) (cherry picked from commit 68a61b0f1d5661180fd432ff9b8ab21272468a87)
* [3.13] Bump mypy to 1.17.1 (GH-137542) (#137544)Miss Islington (bot)2025-08-081-3/+3
| | | | | | Bump mypy to 1.17.1 (GH-137542) (cherry picked from commit fb1cb00030c706366dfd1a457dd5de324d5619ea) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-134262: increase retries in `Tools/build/generate_sbom.py` … ↵Emma Smith2025-08-071-4/+7
| | | | | | (#137496) [3.13] gh-134262: increase retries in `Tools/build/generate_sbom.py` (GH-134558) (cherry picked from commit 3f9eb55e090a8de80503e565f508f341c5f4c8da)
* [3.13] gh-134262: Add retries to generate_sbom.py (GH-134263) (#137468)Emma Smith2025-08-061-1/+19
| | | | | (cherry picked from commit 0c5a8b0b55238a45b9073d06a10c3a59568cdf3c) Co-authored-by: Semyon Moroz <donbarbos@proton.me>
* [3.13] Doc: fix duplicated words (GH-136086) (#137357)Brian Schubert2025-08-031-1/+1
| | | | | | (cherry picked from commit 698bab5a4031c8f54e04e1dd42bcbe3e4564eba5) Co-authored-by: Weilin Du <108666168+LamentXU123@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.13] parser_generator.py typo - keywods -> keywords (GH-135014) (#136773)Miss Islington (bot)2025-07-191-1/+1
| | | | Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
* [3.13] gh-136297: Fix `hypothesis` and `subTest` usage in ↵Miss Islington (bot)2025-07-081-1/+1
| | | | | | | | `test_zoneinfo_property.py` (GH-136384) (#136408) gh-136297: Fix `hypothesis` and `subTest` usage in `test_zoneinfo_property.py` (GH-136384) (cherry picked from commit db699db99d214dccb7c4849fa609fdd5188ee038) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] Bump mypy to 1.16.1 (GH-135720) (#135849)Hugo van Kemenade2025-06-241-3/+3
| | | | Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] patchcheck: use URL paths to identify upstream remote (GH-135806) ↵Miss Islington (bot)2025-06-231-11/+35
| | | | | | (#135809) Co-authored-by: Kattni <kattni@kattni.com>
* [3.13] gh-133967: Do not normalize locale name 'C.UTF-8' to 'en_US.UTF-8' ↵Miss Islington (bot)2025-06-111-0/+3
| | | | | | | (GH-135347) (GH-135350) (cherry picked from commit 0f866cbfefd797b4dae25962457c5579bb90dde5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] gh-133157: fix UBSan failures in `Parser/pegen.c` (GH-134048) (#135334)Bénédikt Tran2025-06-101-22/+36
| | | | [3.13] gh-133157: fix UBSan failures in `Parser/pegen.c` (GH-134048) (cherry picked from commit 754e7c9b5187fcad22acf7555479603f173a4a09)
* [3.13] gh-135151: Fix incorrect packaging of pyconfig.h in Windows installer ↵Steve Dower2025-06-051-1/+2
| | | | (GH-135180)
* [3.13] gh-133410: Fix PR detection in build workflow (GH-133671) (#134054)Miss Islington (bot)2025-05-151-1/+1
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.13] gh-133403: Check `Tools/build/deepfreeze.py` with mypy (GH-133802) ↵sobolevn2025-05-153-26/+43
| | | | | (#134040) (cherry picked from commit 7eaa09739059aaac4812395f8d6bb586af8eadcc)
* [3.13] gh-133412: amend docs for the `inst` definition (GH-133708) (#133730)Miss Islington (bot)2025-05-091-1/+1
| | | | | | | | gh-133412: amend docs for the `inst` definition (GH-133708) The `stack_effect` is incorrectly documented as being allowed to be optional. (cherry picked from commit f77dac66e1867cfdf6f7549822dd64416f6063bc) Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
* gh-133626: Ensure the traditional Windows installer doesn't accidentally ↵Steve Dower2025-05-081-2/+1
| | | | pick up site-packages (GH-133693)
* [3.13] gh-133403: Check `Tools/build/verify_ensurepip_wheels.py` with mypy ↵Miss Islington (bot)2025-05-082-2/+8
| | | | | | | | | | (GH-133453) (#133690) gh-133403: Check `Tools/build/verify_ensurepip_wheels.py` with mypy (GH-133453) (cherry picked from commit 5f3d3f2a6c8ddf7a6be340c3f4c696e2a5eb51f0) Co-authored-by: Flosckow <66554425+Flosckow@users.noreply.github.com> Co-authored-by: Daniil Dumchenko <dumchenko.de@sibvaleo.com> Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-133403: Type `Tools/build/update_file.py` and check it with `mypy` ↵sobolevn2025-05-082-4/+28
| | | | | (GH-133404) (#133637) (cherry picked from commit 50b52cba2d13a1854bc835412ac3f3c0ad42b5ba)
* [3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (#133522)Victor Stinner2025-05-061-1/+4
| | | | | | gh-132921: Fix setuptools._distutils.dep_util deprecation Get newer_group from setuptools.modified on recent setuptools versions, but keep support for old setuptools versions.
* [3.13] GH-133410: Use commit hashes for change detection (gh-133416) (#133427)Miss Islington (bot)2025-05-051-13/+11
| | | | | | GH-133410: Use commit hashes for change detection (gh-133416) (cherry picked from commit d530e74e444fc483f6d2077f701160e55d3003d8) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] Bump mypy to 1.15 (GH-133405) (#133429)Miss Islington (bot)2025-05-051-1/+1
| | | | | | Bump mypy to 1.15 (GH-133405) (cherry picked from commit 8467026ed66ca3abefe3a13860d2633eae3d7164) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util ↵Victor Stinner2025-04-261-1/+1
| | | | | | | | | | deprecation (GH-132923) (#132926)" (#133004) Revert "[3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) (#132926)" This reverts commit 3776ade2e86010d638c538c5d3f225887d714478. setuptools.modified module is not available on old setuptools versions.
* [3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) ↵Miss Islington (bot)2025-04-251-1/+1
| | | | | | | | | | | (#132926) gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) Replace setuptools._distutils.dep_util with setuptools.modified in peg_generator compile_c_extension(). (cherry picked from commit 1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.13] Update `pre-commit` repos (GH-132792) (#132804)sobolevn2025-04-221-3/+3
| | | (cherry picked from commit 87b1ea016b1454b1e83b9113fa9435849b7743aa)
* [3.13] gh-132753: Argument Clinic: Fix support of c_default for the bool ↵Serhiy Storchaka2025-04-211-1/+2
| | | | | converter (GH-132754) (GH-132766) (cherry picked from commit 78cfee6f0920ac914ed179c013f61c53ede16fa9)
* [3.13] gh-130834: Fix free-threaded build with JIT for aarch64 linux (#132368)Donghee Na2025-04-111-1/+6
| | | | | * [3.13] gh-130834: Fix free-threaded build with JIT for arm * lint
* [3.13] GH-130673: Gracefully handle missing sections in JIT build (GH-131749)Miss Islington (bot)2025-04-082-1/+6
| | | | | (cherry picked from commit a26a301f8b09c1825b288fc8649f8174576361f4) Co-authored-by: Bojun Ren <bj.ren.coding@outlook.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-131852: Filter out POT-Creation-Date in msgfmt (GH-131880) (GH-132217)Miss Islington (bot)2025-04-071-2/+7
| | | | | | (cherry picked from commit ad6a032cebf59d1668caa7e726aa5da72e1cbb5c) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
* [3.13] gh-130197: pygettext: Test the --escape option (GH-131902) (GH-132032)Tomas R.2025-04-021-1/+1
| | | (cherry picked from commit 87d9983994e9a423e9e0050b1bbee52ebaf84367)
* [3.13] gh-128446: Run Windows CI tests on each commit (GH-131702) (#131705)Miss Islington (bot)2025-03-281-1/+1
| | | | | | gh-128446: Run Windows CI tests on each commit (GH-131702) (cherry picked from commit 7d9442f0d55a7169940b9371d6e58a7c2ec1fa8a) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.13] gh-130587: Add hand-written docs for non-OP tokens (GH-130588) ↵Petr Viktorin2025-03-241-13/+48
| | | | | | | (GH-131465) Co-authored-by: Blaise Pabon <blaise@gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* [3.13] gh-85012: Properly reset msgctxt when compiling messages with msgfmt ↵Serhiy Storchaka2025-03-131-0/+1
| | | | | | | | (GH-130525) (GH-131205) Add also human-readable snapshots for tests. (cherry picked from commit 7ea6e88eb490635518c63c3305c03baf3e151555) Co-authored-by: Tomas R <tomas.roun8@gmail.com>
* [3.13] gh-124878: Add temporary TSAN suppression for free_threadstate ↵Sam Gross2025-02-282-1/+5
| | | | | | | | (gh-130602) (gh-130687) The race condition with `free_threadstate` and daemon threads exists in both the free threading and default builds. We were missing a suppression in the default build. (cherry picked from commit cc17307faaa248535c65f6a7668e06dc8ef04575)
* [3.13] gh-117657: Enable test_opcache under TSAN (GH-129831) (GH-130597)Sam Gross2025-02-261-0/+3
| | | | | | | | | | Fix a few thread-safety bugs to enable test_opcache when run with TSAN: * Use relaxed atomics when clearing `ht->_spec_cache.getitem` (gh-115999) * Add temporary suppression for type slot modifications (gh-127266) * Use atomic load when reading `*dictptr` (cherry picked from commit f151d271591ec525eaf01fa7b128e575374888b9)
* [3.13] gh-128446: Skip Windows CI for Unix build system changes (GH-128450) ↵Miss Islington (bot)2025-02-221-0/+25
| | | | | | | | | | (#130434) gh-128446: Skip Windows CI for Unix build system changes (GH-128450) (cherry picked from commit b05fa90b21dd01bb836285cdd41920320b09e681) Authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com> Co-authored-by: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) <thatiparthysreenivas@gmail.com> Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* [3.13] Convert change detection to a Python script (GH-129627) (#130367)Hugo van Kemenade2025-02-221-0/+183
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
* [3.13] gh-129805: Fix `bytes` annotation in `Tools/jit` (GH-129806) (#130216)sobolevn2025-02-171-4/+13
| | | (cherry picked from commit 422f8e9e02e68d45aee3846751a003a70fca13b6)
* [3.13] Merge TSAN test matrices in CI (#123278) (#129673)🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко)2025-02-061-0/+0
|
* [3.13] gh-129438: Update ``--enable-experimental-jit`` section with install ↵Miss Islington (bot)2025-01-301-1/+3
| | | | | | | | | | | | requirements (GH-129450) (#129472) gh-129438: Update ``--enable-experimental-jit`` section with install requirements (GH-129450) Add a note to the `JIT` docs that building CPython with `JIT` requires Python 3.11 or newer. (cherry picked from commit 652f66ac386dad5992c6f7c494871907272503f8) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* [3.13] Replace `strict_concatenate = True` with `extra_checks = True` ↵Miss Islington (bot)2025-01-253-3/+3
| | | | | | | | (GH-126391) (#129286) Replace `strict_concatenate = True` with `extra_checks = True` (GH-126391) (cherry picked from commit cc4f0a27704ba1401bd66931f5234be9c6b92ba5) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-109413: Add more type hints to `libregrtest` (GH-126352) (#126388)Miss Islington (bot)2025-01-081-1/+1
| | | | | | gh-109413: Add more type hints to `libregrtest` (GH-126352) (cherry picked from commit bfc1d2504c183a9464e65c290e48516d176ea41f) Co-authored-by: sobolevn <mail@sobolevn.me>
* [3.13] gh-128152: Argument Clinic: ignore pre-processor directives inside C ↵Miss Islington (bot)2025-01-041-0/+3
| | | | | | | comments (GH-128464) (#128478) (cherry picked from commit a4e773c540cfd3a9c2bb3b5033d2f79ef50962c8) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.13] gh-128083: Fix macro redefinition warning in clinic. (GH-127950) ↵Peter Bierma2024-12-191-0/+3
| | | | | | | (#128102) (cherry picked from commit b5d1e4552f0ba40d8380368e1b099261686a89cf) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* [3.13] gh-122907: Fix Builds Without HAVE_DYNAMIC_LOADING Set (gh-122952) ↵Miss Islington (bot)2024-12-031-0/+9
| | | | | | | | | | | (#122984) gh-122907: Fix Builds Without HAVE_DYNAMIC_LOADING Set (gh-122952) 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. (cherry picked from commit ee1b8ce26e700350e47a5f65201097121c41912e) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* [3.13] gh-127341: Argument Clinic: fix compiler warnings for getters with ↵Peter Bierma2024-11-301-7/+3
| | | | | | | docstrings (GH-127310) (#127431) (cherry picked from commit 99490913a08adcf2fe5e69b82772a829ec462275) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* [3.13] summarize: Fix typo in stats (GH-127450) (#127454)Miss Islington (bot)2024-11-301-1/+1
| | | | Co-authored-by: alm <alonme@users.noreply.github.com>
* [3.13] gh-127303: Add docs for token.EXACT_TOKEN_TYPES (GH-127304) (#127390)Miss Islington (bot)2024-11-301-1/+2
| | | | | | | | | | | | gh-127303: Add docs for token.EXACT_TOKEN_TYPES (GH-127304) --------- (cherry picked from commit dd3a87d2a8f8750978359a99de2c5cb2168351d1) Co-authored-by: Илья Любавский <100635212+lubaskinc0de@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* [3.13] gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) ↵Victor Stinner2024-11-261-0/+1
| | | | | | | | | | | | | | | | (#127104) * gh-126316: Make grp.getgrall() thread-safe: add a mutex (#127055) grpmodule.c is no longer built with the limited C API, since PyMutex is excluded from the limited C API. (cherry picked from commit 3c2bd66e21bd8de69a89ebf09ff9d8e78ddfb839) * Revert ABI changes Don't use Argument Clinic for grp.getgrgid() to avoid changing the ABI (change PyInterpreterState structure by adding an "id" identifier).
* gh-118973: Add _tkinter to freethreaded MSI (GH-126768)Miss Islington (bot)2024-11-151-1/+1
| | | | | (cherry picked from commit 9332a6f82506f819f591466eb03213be2c8d1808) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.13] gh-126807: pygettext: Do not attempt to extract messages from ↵Miss Islington (bot)2024-11-141-0/+6
| | | | | | | | | | | | | | | | | | function definitions. (GH-126808) (GH-126846) Fixes a bug where pygettext would attempt to extract a message from a code like this: def _(x): pass This is because pygettext only looks at one token at a time and '_(x)' looks like a function call. However, since 'x' is not a string literal, it would erroneously issue a warning. (cherry picked from commit 9a456383bed52010b90bd491277ea855626a7bba) Co-authored-by: Tomas R <tomas.roun8@gmail.com>