Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita4ce9df

Browse files
Merge branch 'main' into windows-socket-sendfile
2 parents3dd3bc1 +37bd893 commita4ce9df

File tree

879 files changed

+40711
-24481
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

879 files changed

+40711
-24481
lines changed

‎.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ENV WASI_SDK_VERSION=20
66
ENV WASI_SDK_PATH=/opt/wasi-sdk
77

88
ENV WASMTIME_HOME=/opt/wasmtime
9-
ENV WASMTIME_VERSION=9.0.1
9+
ENV WASMTIME_VERSION=14.0.4
1010
ENV WASMTIME_CPU_ARCH=x86_64
1111

1212
RUN dnf -y --nodocs --setopt=install_weak_deps=False install /usr/bin/{blurb,clang,curl,git,ln,tar,xz}'dnf-command(builddep)' && \

‎.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ Include/internal/pycore_ast_state.h generated
7676
Include/internal/pycore_opcode.hgenerated
7777
Include/internal/pycore_opcode_metadata.hgenerated
7878
Include/internal/pycore_*_generated.hgenerated
79+
Include/internal/pycore_uop_ids.hgenerated
7980
Include/opcode.hgenerated
8081
Include/opcode_ids.hgenerated
8182
Include/token.hgenerated
@@ -84,6 +85,7 @@ Lib/keyword.py generated
8485
Lib/test/levenshtein_examples.jsongenerated
8586
Lib/test/test_stable_abi_ctypes.pygenerated
8687
Lib/token.pygenerated
88+
Misc/sbom.spdx.jsongenerated
8789
Objects/typeslots.incgenerated
8890
PC/python3dll.cgenerated
8991
Parser/parser.cgenerated
@@ -92,7 +94,6 @@ Programs/test_frozenmain.h generated
9294
Python/Python-ast.cgenerated
9395
Python/executor_cases.c.hgenerated
9496
Python/generated_cases.c.hgenerated
95-
Python/abstract_interp_cases.c.hgenerated
9697
Python/opcode_targets.hgenerated
9798
Python/stdlib_module_names.hgenerated
9899
Tools/peg_generator/pegen/grammar_parser.pygenerated

‎.github/CODEOWNERS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Lib/test/test_patma.py @brandtbucher
4040
Lib/test/test_peepholer.py@brandtbucher
4141
Lib/test/test_type_*.py@JelleZijlstra
4242
Lib/test/test_capi/test_misc.py@markshannon@gvanrossum
43+
Tools/c-analyzer/@ericsnowcurrently
4344

4445
# Exceptions
4546
Lib/traceback.py@iritkatriel
@@ -156,6 +157,8 @@ Doc/c-api/stable.rst @encukou
156157

157158
**/*dataclasses*@ericvsmith
158159

160+
**/*ensurepip*@pfmoore@pradyunsg
161+
159162
**/*idlelib*@terryjreedy
160163

161164
**/*typing*@JelleZijlstra@AlexWaygood
@@ -188,5 +191,14 @@ Doc/c-api/stable.rst @encukou
188191
/Lib/test/test_clinic.py@erlend-aasland@AlexWaygood
189192
Doc/howto/clinic.rst@erlend-aasland
190193

194+
# Subinterpreters
195+
Lib/test/support/interpreters/@ericsnowcurrently
196+
Modules/_xx*interp*module.c@ericsnowcurrently
197+
Lib/test/test_interpreters/@ericsnowcurrently
198+
191199
# WebAssembly
192200
/Tools/wasm/@brettcannon
201+
202+
# SBOM
203+
/Misc/sbom.spdx.json@sethmlarson
204+
/Tools/build/generate_sbom.py@sethmlarson

‎.github/workflows/add-issue-header.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
permissions:
2020
issues:write
2121
steps:
22-
-uses:actions/github-script@v6
22+
-uses:actions/github-script@v7
2323
with:
2424
# language=JavaScript
2525
script:|

‎.github/workflows/build.yml

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
if:needs.check_source.outputs.run_tests == 'true'
129129
steps:
130130
-uses:actions/checkout@v4
131-
-uses:actions/setup-python@v4
131+
-uses:actions/setup-python@v5
132132
with:
133133
python-version:'3.x'
134134
-name:Restore config.cache
@@ -187,13 +187,13 @@ jobs:
187187
if:needs.check_source.outputs.run_tests == 'true'
188188
uses:./.github/workflows/reusable-windows.yml
189189

190-
build_windows_free_threaded:
191-
name:'Windows (free-threaded)'
190+
build_windows_free_threading:
191+
name:'Windows (free-threading)'
192192
needs:check_source
193-
if:needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
193+
if:needs.check_source.outputs.run_tests == 'true'
194194
uses:./.github/workflows/reusable-windows.yml
195195
with:
196-
free-threaded:true
196+
free-threading:true
197197

198198
build_macos:
199199
name:'macOS'
@@ -203,14 +203,14 @@ jobs:
203203
with:
204204
config_hash:${{ needs.check_source.outputs.config_hash }}
205205

206-
build_macos_free_threaded:
207-
name:'macOS (free-threaded)'
206+
build_macos_free_threading:
207+
name:'macOS (free-threading)'
208208
needs:check_source
209-
if:needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
209+
if:needs.check_source.outputs.run_tests == 'true'
210210
uses:./.github/workflows/reusable-macos.yml
211211
with:
212212
config_hash:${{ needs.check_source.outputs.config_hash }}
213-
free-threaded:true
213+
free-threading:true
214214

215215
build_ubuntu:
216216
name:'Ubuntu'
@@ -225,10 +225,10 @@ jobs:
225225
--with-pydebug \
226226
--with-openssl=$OPENSSL_DIR
227227
228-
build_ubuntu_free_threaded:
229-
name:'Ubuntu (free-threaded)'
228+
build_ubuntu_free_threading:
229+
name:'Ubuntu (free-threading)'
230230
needs:check_source
231-
if:needs.check_source.outputs.run_tests == 'true' && contains(github.event.pull_request.labels.*.name, 'topic-free-threaded')
231+
if:needs.check_source.outputs.run_tests == 'true'
232232
uses:./.github/workflows/reusable-ubuntu.yml
233233
with:
234234
config_hash:${{ needs.check_source.outputs.config_hash }}
@@ -395,7 +395,7 @@ jobs:
395395
-x test_subprocess \
396396
-x test_signal \
397397
-x test_sysconfig
398-
-uses:actions/upload-artifact@v3
398+
-uses:actions/upload-artifact@v4
399399
if:always()
400400
with:
401401
name:hypothesis-example-db
@@ -483,14 +483,14 @@ jobs:
483483
output-sarif:true
484484
sanitizer:${{ matrix.sanitizer }}
485485
-name:Upload crash
486-
uses:actions/upload-artifact@v3
486+
uses:actions/upload-artifact@v4
487487
if:failure() && steps.build.outcome == 'success'
488488
with:
489489
name:${{ matrix.sanitizer }}-artifacts
490490
path:./out/artifacts
491491
-name:Upload SARIF
492492
if:always() && steps.build.outcome == 'success'
493-
uses:github/codeql-action/upload-sarif@v2
493+
uses:github/codeql-action/upload-sarif@v3
494494
with:
495495
sarif_file:cifuzz-sarif/results.sarif
496496
checkout_path:cifuzz-sarif
@@ -504,12 +504,12 @@ jobs:
504504
-check-docs
505505
-check_generated_files
506506
-build_macos
507-
-build_macos_free_threaded
507+
-build_macos_free_threading
508508
-build_ubuntu
509-
-build_ubuntu_free_threaded
509+
-build_ubuntu_free_threading
510510
-build_ubuntu_ssltests
511511
-build_windows
512-
-build_windows_free_threaded
512+
-build_windows_free_threading
513513
-test_hypothesis
514514
-build_asan
515515
-cifuzz
@@ -521,10 +521,7 @@ jobs:
521521
uses:re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe
522522
with:
523523
allowed-failures:>-
524-
build_macos_free_threaded,
525-
build_ubuntu_free_threaded,
526524
build_ubuntu_ssltests,
527-
build_windows_free_threaded,
528525
cifuzz,
529526
test_hypothesis,
530527
allowed-skips:>-
@@ -540,12 +537,12 @@ jobs:
540537
&& '
541538
check_generated_files,
542539
build_macos,
543-
build_macos_free_threaded,
540+
build_macos_free_threading,
544541
build_ubuntu,
545-
build_ubuntu_free_threaded,
542+
build_ubuntu_free_threading,
546543
build_ubuntu_ssltests,
547544
build_windows,
548-
build_windows_free_threaded,
545+
build_windows_free_threading,
549546
build_asan,
550547
'
551548
|| ''

‎.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
-uses:actions/checkout@v4
23-
-uses:actions/setup-python@v4
23+
-uses:actions/setup-python@v5
2424
with:
2525
python-version:"3.x"
2626
-uses:pre-commit/action@v3.0.0

‎.github/workflows/mypy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
pull_request:
99
paths:
1010
-".github/workflows/mypy.yml"
11+
-"Lib/test/libregrtest/**"
12+
-"Tools/build/generate_sbom.py"
1113
-"Tools/cases_generator/**"
1214
-"Tools/clinic/**"
1315
-"Tools/peg_generator/**"
@@ -32,6 +34,8 @@ jobs:
3234
strategy:
3335
matrix:
3436
target:[
37+
"Lib/test/libregrtest",
38+
"Tools/build/",
3539
"Tools/cases_generator",
3640
"Tools/clinic",
3741
"Tools/peg_generator",
@@ -42,7 +46,7 @@ jobs:
4246
timeout-minutes:10
4347
steps:
4448
-uses:actions/checkout@v4
45-
-uses:actions/setup-python@v4
49+
-uses:actions/setup-python@v5
4650
with:
4751
python-version:"3.11"
4852
cache:pip

‎.github/workflows/new-bugs-announce-notifier.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
node-version:20
1919
-run:npm install mailgun.js form-data
2020
-name:Send notification
21-
uses:actions/github-script@v6
21+
uses:actions/github-script@v7
2222
env:
2323
MAILGUN_API_KEY:${{ secrets.MAILGUN_PYTHON_ORG_MAILGUN_KEY }}
2424
with:

‎.github/workflows/posix-deps-apt.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ apt-get -yq install \
2121
libssl-dev \
2222
lzma \
2323
lzma-dev \
24+
strace \
2425
tk-dev \
2526
uuid-dev \
2627
xvfb \

‎.github/workflows/reusable-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
git fetch origin ${{ env.refspec_base }} --shallow-since="${DATE}" \
4242
--no-tags --prune --no-recurse-submodules
4343
-name:'Set up Python'
44-
uses:actions/setup-python@v4
44+
uses:actions/setup-python@v5
4545
with:
4646
python-version:'3'
4747
cache:'pip'
@@ -72,7 +72,7 @@ jobs:
7272
steps:
7373
-uses:actions/checkout@v4
7474
-name:'Set up Python'
75-
uses:actions/setup-python@v4
75+
uses:actions/setup-python@v5
7676
with:
7777
python-version:'3.11'# known to work with Sphinx 4.2
7878
cache:'pip'

‎.github/workflows/reusable-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
config_hash:
55
required:true
66
type:string
7-
free-threaded:
7+
free-threading:
88
required:false
99
type:boolean
1010
default:false
@@ -35,7 +35,7 @@ jobs:
3535
./configure \
3636
--config-cache \
3737
--with-pydebug \
38-
${{ inputs.free-threaded && '--disable-gil' || '' }} \
38+
${{ inputs.free-threading && '--disable-gil' || '' }} \
3939
--prefix=/opt/python-dev \
4040
--with-openssl="$(brew --prefix openssl@3.0)"
4141
-name:Build CPython

‎.github/workflows/reusable-windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
on:
22
workflow_call:
33
inputs:
4-
free-threaded:
4+
free-threading:
55
required:false
66
type:boolean
77
default:false
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
-uses:actions/checkout@v4
1818
-name:Build CPython
19-
run:.\PCbuild\build.bat -e -d -p Win32 ${{ inputs.free-threaded && '--disable-gil' || '' }}
19+
run:.\PCbuild\build.bat -e -d -v -p Win32 ${{ inputs.free-threading && '--disable-gil' || '' }}
2020
-name:Display build info
2121
run:.\python.bat -m test.pythoninfo
2222
-name:Tests
@@ -33,7 +33,7 @@ jobs:
3333
-name:Register MSVC problem matcher
3434
run:echo "::add-matcher::.github/problem-matchers/msvc.json"
3535
-name:Build CPython
36-
run:.\PCbuild\build.bat -e -d -p x64 ${{ inputs.free-threaded && '--disable-gil' || '' }}
36+
run:.\PCbuild\build.bat -e -d -v -p x64 ${{ inputs.free-threading && '--disable-gil' || '' }}
3737
-name:Display build info
3838
run:.\python.bat -m test.pythoninfo
3939
-name:Tests
@@ -50,4 +50,4 @@ jobs:
5050
-name:Register MSVC problem matcher
5151
run:echo "::add-matcher::.github/problem-matchers/msvc.json"
5252
-name:Build CPython
53-
run:.\PCbuild\build.bat -e -d -p arm64 ${{ inputs.free-threaded && '--disable-gil' || '' }}
53+
run:.\PCbuild\build.bat -e -d -v -p arm64 ${{ inputs.free-threading && '--disable-gil' || '' }}

‎.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
-name:"Check PRs"
19-
uses:actions/stale@v8
19+
uses:actions/stale@v9
2020
with:
2121
repo-token:${{ secrets.GITHUB_TOKEN }}
2222
stale-pr-message:'This PR is stale because it has been open for 30 days with no activity.'

‎.github/workflows/verify-ensurepip-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
timeout-minutes:10
2727
steps:
2828
-uses:actions/checkout@v4
29-
-uses:actions/setup-python@v4
29+
-uses:actions/setup-python@v5
3030
with:
3131
python-version:'3'
3232
-name:Compare checksum of bundled wheels to the ones published on PyPI

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Tools/unicode/data/
125125
/config.status.lineno
126126
# hendrikmuhs/ccache-action@v1
127127
/.ccache
128+
/cross-build/
128129
/platform
129130
/profile-clean-stamp
130131
/profile-run-stamp

‎.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
-repo:https://github.com/astral-sh/ruff-pre-commit
3-
rev:v0.1.2
3+
rev:v0.1.7
44
hooks:
55
-id:ruff
66
name:Run Ruff on Lib/test/
@@ -24,7 +24,7 @@ repos:
2424
types_or:[c, inc, python, rst]
2525

2626
-repo:https://github.com/sphinx-contrib/sphinx-lint
27-
rev:v0.8.1
27+
rev:v0.9.1
2828
hooks:
2929
-id:sphinx-lint
3030
args:[--enable=default-role]

‎Doc/Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ SPHINXERRORHANDLING = -W
1919
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
2020
PAPEROPT_letter = -D latex_elements.papersize=letterpaper
2121

22-
ALLSPHINXOPTS = -b$(BUILDER) -d build/doctrees$(PAPEROPT_$(PAPER)) -j$(JOBS)\
23-
$(SPHINXOPTS)$(SPHINXERRORHANDLING) . build/$(BUILDER)$(SOURCES)
22+
ALLSPHINXOPTS = -b$(BUILDER)\
23+
-d build/doctrees\
24+
-j$(JOBS)\
25+
$(PAPEROPT_$(PAPER))\
26+
$(SPHINXOPTS)$(SPHINXERRORHANDLING)\
27+
. build/$(BUILDER)$(SOURCES)
2428

2529
.PHONY: help
2630
help:
@@ -142,7 +146,7 @@ htmlview: html
142146

143147
.PHONY: htmllive
144148
htmllive: SPHINXBUILD =$(VENVDIR)/bin/sphinx-autobuild
145-
htmllive: SPHINXOPTS = --re-ignore="/venv/"
149+
htmllive: SPHINXOPTS = --re-ignore="/venv/" --open-browser --delay 0
146150
htmllive: html
147151

148152
.PHONY: clean

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp