Skip to content

Commit dc8e593

Browse files
committed
Merge branch 'main' into pythongh-101410/math_error_message
2 parents ef68c24 + bc264ea commit dc8e593

File tree

2,643 files changed

+231027
-103197
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,643 files changed

+231027
-103197
lines changed

.cirrus-DISABLED.yml

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

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
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=22
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)' && \

.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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,19 @@ Include/internal/pycore_ast_state.h generated
7676
Include/internal/pycore_opcode.h generated
7777
Include/internal/pycore_opcode_metadata.h generated
7878
Include/internal/pycore_*_generated.h generated
79+
Include/internal/pycore_uop_ids.h generated
80+
Include/internal/pycore_uop_metadata.h generated
7981
Include/opcode.h generated
8082
Include/opcode_ids.h generated
8183
Include/token.h generated
8284
Lib/_opcode_metadata.py generated
8385
Lib/keyword.py generated
86+
Lib/test/certdata/*.pem generated
87+
Lib/test/certdata/*.0 generated
8488
Lib/test/levenshtein_examples.json generated
8589
Lib/test/test_stable_abi_ctypes.py generated
8690
Lib/token.py generated
91+
Misc/sbom.spdx.json generated
8792
Objects/typeslots.inc generated
8893
PC/python3dll.c generated
8994
Parser/parser.c generated
@@ -92,7 +97,7 @@ Programs/test_frozenmain.h generated
9297
Python/Python-ast.c generated
9398
Python/executor_cases.c.h generated
9499
Python/generated_cases.c.h generated
95-
Python/abstract_interp_cases.c.h generated
100+
Python/optimizer_cases.c.h generated
96101
Python/opcode_targets.h generated
97102
Python/stdlib_module_names.h generated
98103
Tools/peg_generator/pegen/grammar_parser.py generated

.github/CODEOWNERS

Lines changed: 110 additions & 26 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
@@ -21,41 +23,73 @@ configure* @erlend-aasland @corona10
2123
**/*context* @1st1
2224
**/*genobject* @markshannon
2325
**/*hamt* @1st1
26+
**/*jit* @brandtbucher
2427
Objects/set* @rhettinger
2528
Objects/dict* @methane @markshannon
2629
Objects/typevarobject.c @JelleZijlstra
2730
Objects/type* @markshannon
2831
Objects/codeobject.c @markshannon
2932
Objects/frameobject.c @markshannon
3033
Objects/call.c @markshannon
31-
Python/ceval*.c @markshannon @gvanrossum
32-
Python/ceval*.h @markshannon @gvanrossum
34+
Python/ceval*.c @markshannon
35+
Python/ceval*.h @markshannon
3336
Python/compile.c @markshannon @iritkatriel
3437
Python/assemble.c @markshannon @iritkatriel
3538
Python/flowgraph.c @markshannon @iritkatriel
39+
Python/instruction_sequence.c @iritkatriel
3640
Python/ast_opt.c @isidentical
37-
Python/bytecodes.c @markshannon @gvanrossum
38-
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
3947
Lib/test/test_patma.py @brandtbucher
40-
Lib/test/test_peepholer.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
51+
Tools/c-analyzer/ @ericsnowcurrently
52+
53+
# dbm
54+
**/*dbm* @corona10 @erlend-aasland @serhiy-storchaka
55+
56+
# runtime state/lifecycle
57+
**/*pylifecycle* @ericsnowcurrently
58+
**/*pystate* @ericsnowcurrently
59+
**/*preconfig* @ericsnowcurrently
60+
**/*initconfig* @ericsnowcurrently
61+
**/*pathconfig* @ericsnowcurrently
62+
**/*sysmodule* @ericsnowcurrently
63+
**/*bltinmodule* @ericsnowcurrently
64+
**/*gil* @ericsnowcurrently
65+
Include/internal/pycore_runtime.h @ericsnowcurrently
66+
Include/internal/pycore_interp.h @ericsnowcurrently
67+
Include/internal/pycore_tstate.h @ericsnowcurrently
68+
Include/internal/pycore_*_state.h @ericsnowcurrently
69+
Include/internal/pycore_*_init.h @ericsnowcurrently
70+
Include/internal/pycore_atexit.h @ericsnowcurrently
71+
Include/internal/pycore_freelist.h @ericsnowcurrently
72+
Include/internal/pycore_global_objects.h @ericsnowcurrently
73+
Include/internal/pycore_obmalloc.h @ericsnowcurrently
74+
Include/internal/pycore_pymem.h @ericsnowcurrently
75+
Include/internal/pycore_stackref.h @Fidget-Spinner
76+
Modules/main.c @ericsnowcurrently
77+
Programs/_bootstrap_python.c @ericsnowcurrently
78+
Programs/python.c @ericsnowcurrently
79+
Tools/build/generate_global_objects.py @ericsnowcurrently
4380

4481
# Exceptions
45-
Lib/traceback.py @iritkatriel
4682
Lib/test/test_except*.py @iritkatriel
47-
Lib/test/test_traceback.py @iritkatriel
4883
Objects/exceptions.c @iritkatriel
49-
Python/traceback.c @iritkatriel
5084

5185
# Hashing
52-
**/*hashlib* @tiran
53-
**/*pyhash* @tiran
54-
**/*sha* @tiran
55-
**/*md5* @tiran
56-
**/*blake* @tiran
57-
/Modules/_blake2/** @tiran
58-
/Modules/_sha3/** @tiran
86+
**/*hashlib* @gpshead @tiran
87+
**/*pyhash* @gpshead @tiran
88+
**/sha* @gpshead @tiran
89+
Modules/md5* @gpshead @tiran
90+
**/*blake* @gpshead @tiran
91+
Modules/_blake2/** @gpshead @tiran
92+
Modules/_hacl/** @gpshead
5993

6094
# logging
6195
**/*logging* @vsajip
@@ -75,8 +109,21 @@ Python/traceback.c @iritkatriel
75109
# Import (including importlib).
76110
**/*import* @brettcannon @ericsnowcurrently @ncoghlan @warsaw
77111
/Python/import.c @kumaraditya303
78-
**/*importlib/resources/* @jaraco @warsaw @FFY00
79-
**/importlib/metadata/* @jaraco @warsaw
112+
Python/dynload_*.c @ericsnowcurrently
113+
**/*freeze* @ericsnowcurrently
114+
**/*frozen* @ericsnowcurrently
115+
**/*modsupport* @ericsnowcurrently
116+
**/*modulefinder* @ericsnowcurrently
117+
**/*moduleobject* @ericsnowcurrently
118+
**/*multiphase* @ericsnowcurrently
119+
**/*pkgutil* @ericsnowcurrently
120+
**/*pythonrun* @ericsnowcurrently
121+
**/*runpy* @ericsnowcurrently
122+
**/*singlephase* @ericsnowcurrently
123+
Lib/test/test_module/ @ericsnowcurrently
124+
Doc/c-api/module.rst @ericsnowcurrently
125+
**/*importlib/resources/* @jaraco @warsaw @FFY00
126+
**/*importlib/metadata/* @jaraco @warsaw
80127

81128
# Dates and times
82129
**/*datetime* @pganssle @abalkin
@@ -107,18 +154,21 @@ Include/internal/pycore_time.h @pganssle @abalkin
107154
/Lib/test/test_tokenize.py @pablogsal @lysnikolaou
108155

109156
# Code generator
110-
/Tools/cases_generator/ @gvanrossum
157+
/Tools/cases_generator/ @markshannon
111158

112159
# AST
113-
Python/ast.c @isidentical
114-
Parser/asdl.py @isidentical
115-
Parser/asdl_c.py @isidentical
116-
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
117164

118165
# Mock
119166
/Lib/unittest/mock.py @cjw296
120167
/Lib/test/test_unittest/testmock/* @cjw296
121168

169+
# multiprocessing
170+
**/*multiprocessing* @gpshead
171+
122172
# SQLite 3
123173
**/*sqlite* @berkerpeksag @erlend-aasland
124174

@@ -127,6 +177,10 @@ Lib/ast.py @isidentical
127177
/Lib/test/test_subprocess.py @gpshead
128178
/Modules/*subprocess* @gpshead
129179

180+
# debugger
181+
**/*pdb* @gaogaotiantian
182+
**/*bdb* @gaogaotiantian
183+
130184
# Limited C API & stable ABI
131185
Tools/build/stable_abi.py @encukou
132186
Misc/stable_abi.toml @encukou
@@ -148,15 +202,17 @@ Doc/c-api/stable.rst @encukou
148202
**/*itertools* @rhettinger
149203
**/*collections* @rhettinger
150204
**/*random* @rhettinger
151-
**/*queue* @rhettinger
152205
**/*bisect* @rhettinger
153206
**/*heapq* @rhettinger
154207
**/*functools* @rhettinger
155208
**/*decimal* @rhettinger
156209

157210
**/*dataclasses* @ericvsmith
158211

212+
**/*ensurepip* @pfmoore @pradyunsg
213+
159214
**/*idlelib* @terryjreedy
215+
/Doc/library/idle.rst @terryjreedy
160216

161217
**/*typing* @JelleZijlstra @AlexWaygood
162218

@@ -184,9 +240,37 @@ Doc/c-api/stable.rst @encukou
184240
**/*zipfile/_path/* @jaraco
185241

186242
# Argument Clinic
187-
/Tools/clinic/** @erlend-aasland @AlexWaygood
188-
/Lib/test/test_clinic.py @erlend-aasland @AlexWaygood
243+
/Tools/clinic/** @erlend-aasland
244+
/Lib/test/test_clinic.py @erlend-aasland
189245
Doc/howto/clinic.rst @erlend-aasland
190246

247+
# Subinterpreters
248+
**/*interpreteridobject.* @ericsnowcurrently
249+
**/*crossinterp* @ericsnowcurrently
250+
Lib/test/support/interpreters/ @ericsnowcurrently
251+
Modules/_interp*module.c @ericsnowcurrently
252+
Lib/test/test_interpreters/ @ericsnowcurrently
253+
254+
# Android
255+
**/*Android* @mhsmith
256+
**/*android* @mhsmith
257+
258+
# iOS (but not termios)
259+
**/iOS* @freakboy3742
260+
**/ios* @freakboy3742
261+
**/*_iOS* @freakboy3742
262+
**/*_ios* @freakboy3742
263+
**/*-iOS* @freakboy3742
264+
**/*-ios* @freakboy3742
265+
191266
# WebAssembly
192267
/Tools/wasm/ @brettcannon
268+
269+
# SBOM
270+
/Misc/externals.spdx.json @sethmlarson
271+
/Misc/sbom.spdx.json @sethmlarson
272+
/Tools/build/generate_sbom.py @sethmlarson
273+
274+
# Config Parser
275+
Lib/configparser.py @jaraco
276+
Lib/test/test_configparser.py @jaraco

0 commit comments

Comments
 (0)