Skip to content

Commit c97626c

Browse files
authored
Merge branch 'main' into patch-15
2 parents eaa2540 + a8bc036 commit c97626c

File tree

2,717 files changed

+220127
-91234
lines changed

Some content is hidden

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

2,717 files changed

+220127
-91234
lines changed

.azure-pipelines/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
trigger: ['main', '3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
1+
trigger: ['main', '3.13', '3.12', '3.11', '3.10', '3.9', '3.8']
22

33
jobs:
44
- job: Prebuild

.azure-pipelines/posix-deps-apt.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

.azure-pipelines/posix-steps.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.azure-pipelines/pr.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.devcontainer/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
FROM docker.io/library/fedora:37
1+
FROM docker.io/library/fedora:40
22

33
ENV CC=clang
44

5-
ENV WASI_SDK_VERSION=20
5+
ENV WASI_SDK_VERSION=24
66
ENV WASI_SDK_PATH=/opt/wasi-sdk
77

88
ENV WASMTIME_HOME=/opt/wasmtime
9-
ENV WASMTIME_VERSION=14.0.4
9+
ENV WASMTIME_VERSION=22.0.0
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)' && \
1313
dnf -y --nodocs --setopt=install_weak_deps=False builddep python3 && \
1414
dnf -y clean all
1515

1616
RUN mkdir ${WASI_SDK_PATH} && \
17-
curl --location https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-linux.tar.gz | \
17+
curl --location https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VERSION}/wasi-sdk-${WASI_SDK_VERSION}.0-x86_64-linux.tar.gz | \
1818
tar --strip-components 1 --directory ${WASI_SDK_PATH} --extract --gunzip
1919

2020
RUN mkdir --parents ${WASMTIME_HOME} && \

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
root = true
22

3-
[*.{py,c,cpp,h,rst,md,yml}]
3+
[*.{py,c,cpp,h,js,rst,md,yml}]
44
trim_trailing_whitespace = true
55
insert_final_newline = true
66
indent_style = space
@@ -11,5 +11,5 @@ indent_size = 4
1111
[*.rst]
1212
indent_size = 3
1313

14-
[*.yml]
14+
[*.{js,yml}]
1515
indent_size = 2

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,14 @@ Include/internal/pycore_opcode.h generated
7777
Include/internal/pycore_opcode_metadata.h generated
7878
Include/internal/pycore_*_generated.h generated
7979
Include/internal/pycore_uop_ids.h generated
80+
Include/internal/pycore_uop_metadata.h generated
8081
Include/opcode.h generated
8182
Include/opcode_ids.h generated
8283
Include/token.h generated
8384
Lib/_opcode_metadata.py generated
8485
Lib/keyword.py generated
86+
Lib/test/certdata/*.pem generated
87+
Lib/test/certdata/*.0 generated
8588
Lib/test/levenshtein_examples.json generated
8689
Lib/test/test_stable_abi_ctypes.py generated
8790
Lib/token.py generated
@@ -94,6 +97,7 @@ Programs/test_frozenmain.h generated
9497
Python/Python-ast.c generated
9598
Python/executor_cases.c.h generated
9699
Python/generated_cases.c.h generated
100+
Python/optimizer_cases.c.h generated
97101
Python/opcode_targets.h generated
98102
Python/stdlib_module_names.h generated
99103
Tools/peg_generator/pegen/grammar_parser.py generated

.github/CODEOWNERS

Lines changed: 45 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
# Build system
1515
configure* @erlend-aasland @corona10
16+
Makefile.pre.in @erlend-aasland
17+
Modules/Setup* @erlend-aasland
1618

1719
# asyncio
1820
**/*asyncio* @1st1 @asvetlov @gvanrossum @kumaraditya303 @willingc
@@ -29,17 +31,23 @@ Objects/type* @markshannon
2931
Objects/codeobject.c @markshannon
3032
Objects/frameobject.c @markshannon
3133
Objects/call.c @markshannon
32-
Python/ceval*.c @markshannon @gvanrossum
33-
Python/ceval*.h @markshannon @gvanrossum
34+
Python/ceval*.c @markshannon
35+
Python/ceval*.h @markshannon
3436
Python/compile.c @markshannon @iritkatriel
3537
Python/assemble.c @markshannon @iritkatriel
3638
Python/flowgraph.c @markshannon @iritkatriel
39+
Python/instruction_sequence.c @iritkatriel
3740
Python/ast_opt.c @isidentical
38-
Python/bytecodes.c @markshannon @gvanrossum
39-
Python/optimizer*.c @markshannon @gvanrossum
41+
Python/bytecodes.c @markshannon
42+
Python/optimizer*.c @markshannon
43+
Python/optimizer_analysis.c @Fidget-Spinner
44+
Python/optimizer_bytecodes.c @Fidget-Spinner
45+
Python/symtable.c @JelleZijlstra @carljm
46+
Lib/_pyrepl/* @pablogsal @lysnikolaou @ambv
4047
Lib/test/test_patma.py @brandtbucher
4148
Lib/test/test_type_*.py @JelleZijlstra
42-
Lib/test/test_capi/test_misc.py @markshannon @gvanrossum
49+
Lib/test/test_capi/test_misc.py @markshannon
50+
Lib/test/test_pyrepl/* @pablogsal @lysnikolaou @ambv
4351
Tools/c-analyzer/ @ericsnowcurrently
4452

4553
# dbm
@@ -64,17 +72,15 @@ Include/internal/pycore_freelist.h @ericsnowcurrently
6472
Include/internal/pycore_global_objects.h @ericsnowcurrently
6573
Include/internal/pycore_obmalloc.h @ericsnowcurrently
6674
Include/internal/pycore_pymem.h @ericsnowcurrently
75+
Include/internal/pycore_stackref.h @Fidget-Spinner
6776
Modules/main.c @ericsnowcurrently
6877
Programs/_bootstrap_python.c @ericsnowcurrently
6978
Programs/python.c @ericsnowcurrently
7079
Tools/build/generate_global_objects.py @ericsnowcurrently
7180

7281
# Exceptions
73-
Lib/traceback.py @iritkatriel
7482
Lib/test/test_except*.py @iritkatriel
75-
Lib/test/test_traceback.py @iritkatriel
7683
Objects/exceptions.c @iritkatriel
77-
Python/traceback.c @iritkatriel
7884

7985
# Hashing
8086
**/*hashlib* @gpshead @tiran
@@ -117,7 +123,7 @@ Python/dynload_*.c @ericsnowcurrently
117123
Lib/test/test_module/ @ericsnowcurrently
118124
Doc/c-api/module.rst @ericsnowcurrently
119125
**/*importlib/resources/* @jaraco @warsaw @FFY00
120-
**/importlib/metadata/* @jaraco @warsaw
126+
**/*importlib/metadata/* @jaraco @warsaw
121127

122128
# Dates and times
123129
**/*datetime* @pganssle @abalkin
@@ -148,13 +154,13 @@ Include/internal/pycore_time.h @pganssle @abalkin
148154
/Lib/test/test_tokenize.py @pablogsal @lysnikolaou
149155

150156
# Code generator
151-
/Tools/cases_generator/ @gvanrossum
157+
/Tools/cases_generator/ @markshannon
152158

153159
# AST
154-
Python/ast.c @isidentical
155-
Parser/asdl.py @isidentical
156-
Parser/asdl_c.py @isidentical
157-
Lib/ast.py @isidentical
160+
Python/ast.c @isidentical @JelleZijlstra
161+
Parser/asdl.py @isidentical @JelleZijlstra
162+
Parser/asdl_c.py @isidentical @JelleZijlstra
163+
Lib/ast.py @isidentical @JelleZijlstra
158164

159165
# Mock
160166
/Lib/unittest/mock.py @cjw296
@@ -171,6 +177,10 @@ Lib/ast.py @isidentical
171177
/Lib/test/test_subprocess.py @gpshead
172178
/Modules/*subprocess* @gpshead
173179

180+
# debugger
181+
**/*pdb* @gaogaotiantian
182+
**/*bdb* @gaogaotiantian
183+
174184
# Limited C API & stable ABI
175185
Tools/build/stable_abi.py @encukou
176186
Misc/stable_abi.toml @encukou
@@ -192,7 +202,6 @@ Doc/c-api/stable.rst @encukou
192202
**/*itertools* @rhettinger
193203
**/*collections* @rhettinger
194204
**/*random* @rhettinger
195-
**/*queue* @rhettinger
196205
**/*bisect* @rhettinger
197206
**/*heapq* @rhettinger
198207
**/*functools* @rhettinger
@@ -202,8 +211,11 @@ Doc/c-api/stable.rst @encukou
202211

203212
**/*ensurepip* @pfmoore @pradyunsg
204213

214+
/Doc/library/idle.rst @terryjreedy
205215
**/*idlelib* @terryjreedy
216+
**/*turtledemo* @terryjreedy
206217

218+
**/*annotationlib* @JelleZijlstra
207219
**/*typing* @JelleZijlstra @AlexWaygood
208220

209221
**/*ftplib @giampaolo
@@ -238,12 +250,29 @@ Doc/howto/clinic.rst @erlend-aasland
238250
**/*interpreteridobject.* @ericsnowcurrently
239251
**/*crossinterp* @ericsnowcurrently
240252
Lib/test/support/interpreters/ @ericsnowcurrently
241-
Modules/_xx*interp*module.c @ericsnowcurrently
253+
Modules/_interp*module.c @ericsnowcurrently
242254
Lib/test/test_interpreters/ @ericsnowcurrently
243255

256+
# Android
257+
**/*Android* @mhsmith
258+
**/*android* @mhsmith
259+
260+
# iOS (but not termios)
261+
**/iOS* @freakboy3742
262+
**/ios* @freakboy3742
263+
**/*_iOS* @freakboy3742
264+
**/*_ios* @freakboy3742
265+
**/*-iOS* @freakboy3742
266+
**/*-ios* @freakboy3742
267+
244268
# WebAssembly
245269
/Tools/wasm/ @brettcannon
246270

247271
# SBOM
272+
/Misc/externals.spdx.json @sethmlarson
248273
/Misc/sbom.spdx.json @sethmlarson
249274
/Tools/build/generate_sbom.py @sethmlarson
275+
276+
# Config Parser
277+
Lib/configparser.py @jaraco
278+
Lib/test/test_configparser.py @jaraco

0 commit comments

Comments
 (0)