Skip to content

Commit 8da5ca4

Browse files
authored
Merge branch 'main' into issue-120266
2 parents 397a5f3 + 0a160bf commit 8da5ca4

File tree

2,836 files changed

+365796
-166152
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,836 files changed

+365796
-166152
lines changed

.azure-pipelines/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
trigger: ['main', '3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
1+
trigger: ['main', '3.*']
22

33
jobs:
44
- job: Prebuild
55
displayName: Pre-build checks
66

77
pool:
8-
vmImage: ubuntu-22.04
8+
vmImage: ubuntu-24.04
99

1010
steps:
1111
- template: ./prebuild-checks.yml

.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: 0 additions & 24 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
{
2-
"build": {
3-
"dockerfile": "Dockerfile"
4-
},
2+
"image": "ghcr.io/python/devcontainer:2024.09.25.11038928730",
53
"onCreateCommand": [
64
// Install common tooling.
75
"dnf",

.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,js,rst,md,yml}]
3+
[*.{py,c,cpp,h,js,rst,md,yml,yaml}]
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-
[*.{js,yml}]
14+
[*.{js,yml,yaml}]
1515
indent_size = 2

.gitattributes

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Lib/test/cjkencodings/* noeol
2727
Lib/test/tokenizedata/coding20731.py noeol
2828
Lib/test/decimaltestdata/*.decTest noeol
2929
Lib/test/test_email/data/*.txt noeol
30-
Lib/test/test_importlib/resources/data01/* noeol
31-
Lib/test/test_importlib/resources/namespacedata01/* noeol
3230
Lib/test/xmltestdata/* noeol
3331

3432
# Shell scripts should have LF even on Windows because of Cygwin

.github/CODEOWNERS

Lines changed: 85 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,48 @@
55
# https://git-scm.com/docs/gitignore#_pattern_format
66

77
# GitHub
8-
.github/** @ezio-melotti @hugovk
8+
.github/** @ezio-melotti @hugovk @AA-Turner
99

1010
# pre-commit
1111
.pre-commit-config.yaml @hugovk @AlexWaygood
12-
.ruff.toml @hugovk @AlexWaygood
12+
.ruff.toml @hugovk @AlexWaygood @AA-Turner
1313

1414
# Build system
1515
configure* @erlend-aasland @corona10
16+
Makefile.pre.in @erlend-aasland
17+
Modules/Setup* @erlend-aasland
18+
19+
# argparse
20+
**/*argparse* @savannahostrowski
1621

1722
# asyncio
18-
**/*asyncio* @1st1 @asvetlov @gvanrossum @kumaraditya303 @willingc
23+
**/*asyncio* @1st1 @asvetlov @kumaraditya303 @willingc
1924

2025
# Core
2126
**/*context* @1st1
2227
**/*genobject* @markshannon
2328
**/*hamt* @1st1
24-
**/*jit* @brandtbucher
29+
**/*jit* @brandtbucher @savannahostrowski
2530
Objects/set* @rhettinger
2631
Objects/dict* @methane @markshannon
2732
Objects/typevarobject.c @JelleZijlstra
33+
Objects/unionobject.c @JelleZijlstra
2834
Objects/type* @markshannon
2935
Objects/codeobject.c @markshannon
3036
Objects/frameobject.c @markshannon
3137
Objects/call.c @markshannon
3238
Python/ceval*.c @markshannon
3339
Python/ceval*.h @markshannon
40+
Python/codegen.c @markshannon @iritkatriel
3441
Python/compile.c @markshannon @iritkatriel
3542
Python/assemble.c @markshannon @iritkatriel
3643
Python/flowgraph.c @markshannon @iritkatriel
3744
Python/instruction_sequence.c @iritkatriel
38-
Python/ast_opt.c @isidentical
3945
Python/bytecodes.c @markshannon
4046
Python/optimizer*.c @markshannon
4147
Python/optimizer_analysis.c @Fidget-Spinner
4248
Python/optimizer_bytecodes.c @Fidget-Spinner
43-
Python/symtable.c @JelleZijlstra @carljm
49+
Python/symtable.c @JelleZijlstra @carljm
4450
Lib/_pyrepl/* @pablogsal @lysnikolaou @ambv
4551
Lib/test/test_patma.py @brandtbucher
4652
Lib/test/test_type_*.py @JelleZijlstra
@@ -51,6 +57,14 @@ Tools/c-analyzer/ @ericsnowcurrently
5157
# dbm
5258
**/*dbm* @corona10 @erlend-aasland @serhiy-storchaka
5359

60+
# Doc/ tools
61+
Doc/conf.py @AA-Turner @hugovk
62+
Doc/Makefile @AA-Turner @hugovk
63+
Doc/make.bat @AA-Turner @hugovk
64+
Doc/requirements.txt @AA-Turner @hugovk
65+
Doc/_static/** @AA-Turner @hugovk
66+
Doc/tools/** @AA-Turner @hugovk
67+
5468
# runtime state/lifecycle
5569
**/*pylifecycle* @ericsnowcurrently
5670
**/*pystate* @ericsnowcurrently
@@ -70,29 +84,45 @@ Include/internal/pycore_freelist.h @ericsnowcurrently
7084
Include/internal/pycore_global_objects.h @ericsnowcurrently
7185
Include/internal/pycore_obmalloc.h @ericsnowcurrently
7286
Include/internal/pycore_pymem.h @ericsnowcurrently
87+
Include/internal/pycore_stackref.h @Fidget-Spinner
7388
Modules/main.c @ericsnowcurrently
7489
Programs/_bootstrap_python.c @ericsnowcurrently
7590
Programs/python.c @ericsnowcurrently
7691
Tools/build/generate_global_objects.py @ericsnowcurrently
7792

93+
# Initialization
94+
Doc/library/sys_path_init.rst @FFY00
95+
Doc/c-api/init_config.rst @FFY00
96+
97+
# getpath
98+
**/*getpath* @FFY00
99+
100+
# site
101+
**/*site.py @FFY00
102+
Doc/library/site.rst @FFY00
103+
78104
# Exceptions
79105
Lib/test/test_except*.py @iritkatriel
80106
Objects/exceptions.c @iritkatriel
81107

82-
# Hashing
83-
**/*hashlib* @gpshead @tiran
84-
**/*pyhash* @gpshead @tiran
85-
**/sha* @gpshead @tiran
86-
Modules/md5* @gpshead @tiran
87-
**/*blake* @gpshead @tiran
88-
Modules/_blake2/** @gpshead @tiran
89-
Modules/_hacl/** @gpshead
108+
# Hashing & cryptographic primitives
109+
**/*hashlib* @gpshead @tiran @picnixz
110+
**/*hashopenssl* @gpshead @tiran @picnixz
111+
**/*pyhash* @gpshead @tiran @picnixz
112+
Modules/*blake* @gpshead @tiran @picnixz
113+
Modules/*md5* @gpshead @tiran @picnixz
114+
Modules/*sha* @gpshead @tiran @picnixz
115+
Modules/_hacl/** @gpshead @picnixz
116+
**/*hmac* @gpshead @picnixz
117+
118+
# libssl
119+
**/*ssl* @gpshead @picnixz
90120

91121
# logging
92122
**/*logging* @vsajip
93123

94124
# venv
95-
**/*venv* @vsajip
125+
**/*venv* @vsajip @FFY00
96126

97127
# Launcher
98128
/PC/launcher.c @vsajip
@@ -138,6 +168,9 @@ Include/internal/pycore_time.h @pganssle @abalkin
138168
**/*imap* @python/email-team
139169
**/*poplib* @python/email-team
140170

171+
# Exclude .mailmap from being owned by @python/email-team
172+
/.mailmap
173+
141174
# Garbage collector
142175
/Modules/gcmodule.c @pablogsal
143176
/Doc/library/gc.rst @pablogsal
@@ -154,10 +187,13 @@ Include/internal/pycore_time.h @pganssle @abalkin
154187
/Tools/cases_generator/ @markshannon
155188

156189
# AST
157-
Python/ast.c @isidentical @JelleZijlstra
158-
Parser/asdl.py @isidentical @JelleZijlstra
159-
Parser/asdl_c.py @isidentical @JelleZijlstra
160-
Lib/ast.py @isidentical @JelleZijlstra
190+
Python/ast.c @isidentical @JelleZijlstra @eclips4
191+
Python/ast_preprocess.c @isidentical @eclips4
192+
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
193+
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
194+
Lib/ast.py @isidentical @JelleZijlstra @eclips4
195+
Lib/_ast_unparse.py @isidentical @JelleZijlstra @eclips4
196+
Lib/test/test_ast/ @eclips4
161197

162198
# Mock
163199
/Lib/unittest/mock.py @cjw296
@@ -199,18 +235,19 @@ Doc/c-api/stable.rst @encukou
199235
**/*itertools* @rhettinger
200236
**/*collections* @rhettinger
201237
**/*random* @rhettinger
202-
**/*queue* @rhettinger
203238
**/*bisect* @rhettinger
204239
**/*heapq* @rhettinger
205240
**/*functools* @rhettinger
206-
**/*decimal* @rhettinger
207241

208242
**/*dataclasses* @ericvsmith
209243

210244
**/*ensurepip* @pfmoore @pradyunsg
211245

246+
/Doc/library/idle.rst @terryjreedy
212247
**/*idlelib* @terryjreedy
248+
**/*turtledemo* @terryjreedy
213249

250+
**/*annotationlib* @JelleZijlstra
214251
**/*typing* @JelleZijlstra @AlexWaygood
215252

216253
**/*ftplib @giampaolo
@@ -245,12 +282,12 @@ Doc/howto/clinic.rst @erlend-aasland
245282
**/*interpreteridobject.* @ericsnowcurrently
246283
**/*crossinterp* @ericsnowcurrently
247284
Lib/test/support/interpreters/ @ericsnowcurrently
248-
Modules/_xx*interp*module.c @ericsnowcurrently
285+
Modules/_interp*module.c @ericsnowcurrently
249286
Lib/test/test_interpreters/ @ericsnowcurrently
250287

251288
# Android
252-
**/*Android* @mhsmith
253-
**/*android* @mhsmith
289+
**/*Android* @mhsmith @freakboy3742
290+
**/*android* @mhsmith @freakboy3742
254291

255292
# iOS (but not termios)
256293
**/iOS* @freakboy3742
@@ -261,7 +298,12 @@ Lib/test/test_interpreters/ @ericsnowcurrently
261298
**/*-ios* @freakboy3742
262299

263300
# WebAssembly
264-
/Tools/wasm/ @brettcannon
301+
Tools/wasm/config.site-wasm32-emscripten @freakboy3742
302+
/Tools/wasm/README.md @brettcannon @freakboy3742
303+
/Tools/wasm/wasi-env @brettcannon
304+
/Tools/wasm/wasi.py @brettcannon
305+
/Tools/wasm/emscripten @freakboy3742
306+
/Tools/wasm/wasi @brettcannon
265307

266308
# SBOM
267309
/Misc/externals.spdx.json @sethmlarson
@@ -271,3 +313,21 @@ Lib/test/test_interpreters/ @ericsnowcurrently
271313
# Config Parser
272314
Lib/configparser.py @jaraco
273315
Lib/test/test_configparser.py @jaraco
316+
317+
# Doc sections
318+
Doc/reference/ @willingc @AA-Turner
319+
320+
**/*weakref* @kumaraditya303
321+
322+
# Colorize
323+
Lib/_colorize.py @hugovk
324+
Lib/test/test__colorize.py @hugovk
325+
326+
# Fuzzing
327+
Modules/_xxtestfuzz/ @ammaraskar
328+
329+
# t-strings
330+
**/*interpolationobject* @lysnikolaou
331+
**/*templateobject* @lysnikolaou
332+
**/*templatelib* @lysnikolaou
333+
**/*tstring* @lysnikolaou

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ body:
3434
label: "CPython versions tested on:"
3535
multiple: true
3636
options:
37-
- "3.8"
3837
- "3.9"
3938
- "3.10"
4039
- "3.11"
4140
- "3.12"
4241
- "3.13"
42+
- "3.14"
43+
- "3.15"
4344
- "CPython main branch"
4445
validations:
4546
required: true

0 commit comments

Comments
 (0)