Skip to content

Commit b7e1f26

Browse files
committed
Merge branch 'master' into validation-of-Constants/141778
2 parents 7c90e20 + fad0674 commit b7e1f26

2,087 files changed

Lines changed: 211746 additions & 92952 deletions

File tree

Some content is hidden

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

.gitattributes

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ Lib/test/xmltestdata/* noeol
3434
Lib/venv/scripts/common/activate text eol=lf
3535
Lib/venv/scripts/posix/* text eol=lf
3636

37+
# Prevent GitHub's web conflict editor from converting LF to CRLF
38+
*.rst text eol=lf
39+
3740
# CRLF files
3841
[attr]dos text eol=crlf
3942

@@ -81,18 +84,22 @@ Include/internal/pycore_uop_ids.h generated
8184
Include/internal/pycore_uop_metadata.h generated
8285
Include/opcode.h generated
8386
Include/opcode_ids.h generated
87+
Include/slots_generated.h generated
8488
Include/token.h generated
8589
Lib/_opcode_metadata.py generated
86-
Lib/keyword.py generated
8790
Lib/idlelib/help.html generated
91+
Lib/keyword.py generated
92+
Lib/pydoc_data/topics.py generated
93+
Lib/pydoc_data/module_docs.py generated
8894
Lib/test/certdata/*.pem generated
8995
Lib/test/certdata/*.0 generated
9096
Lib/test/levenshtein_examples.json generated
9197
Lib/test/test_stable_abi_ctypes.py generated
9298
Lib/test/test_zoneinfo/data/*.json generated
9399
Lib/token.py generated
94100
Misc/sbom.spdx.json generated
95-
Objects/typeslots.inc generated
101+
Modules/_testinternalcapi/test_cases.c.h generated
102+
Modules/_testinternalcapi/test_targets.h generated
96103
PC/python3dll.c generated
97104
Parser/parser.c generated
98105
Parser/token.c generated
@@ -102,8 +109,11 @@ Python/executor_cases.c.h generated
102109
Python/generated_cases.c.h generated
103110
Python/optimizer_cases.c.h generated
104111
Python/opcode_targets.h generated
112+
Python/record_functions.c.h generated
113+
Python/slots_generated.c generated
105114
Python/stdlib_module_names.h generated
106115
Tools/peg_generator/pegen/grammar_parser.py generated
107116
aclocal.m4 generated
108117
configure generated
109118
*.min.js generated
119+
package-lock.json generated

.github/CODEOWNERS

Lines changed: 76 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@
6363
.azure-pipelines/ @AA-Turner
6464

6565
# GitHub & related scripts
66-
.github/ @ezio-melotti @hugovk @AA-Turner
67-
Tools/build/compute-changes.py @AA-Turner
68-
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
66+
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz
67+
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz
68+
Lib/test/test_tools/test_compute_changes.py @AA-Turner @hugovk @webknjaz
69+
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
6970

7071
# Pre-commit
7172
.pre-commit-config.yaml @hugovk
@@ -99,17 +100,18 @@ Lib/test/test_build_details.py @FFY00
99100
InternalDocs/ @AA-Turner
100101

101102
# Tools, Configuration, etc
102-
Doc/Makefile @AA-Turner @hugovk
103-
Doc/_static/ @AA-Turner @hugovk
104-
Doc/conf.py @AA-Turner @hugovk
105-
Doc/make.bat @AA-Turner @hugovk
106-
Doc/requirements.txt @AA-Turner @hugovk
107-
Doc/tools/ @AA-Turner @hugovk
103+
Doc/Makefile @AA-Turner @hugovk @StanFromIreland
104+
Doc/_static/ @AA-Turner @hugovk @StanFromIreland
105+
Doc/conf.py @AA-Turner @hugovk @StanFromIreland
106+
Doc/make.bat @AA-Turner @hugovk @StanFromIreland
107+
Doc/requirements.txt @AA-Turner @hugovk @StanFromIreland
108+
Doc/tools/ @AA-Turner @hugovk @StanFromIreland
108109

109110
# PR Previews
110111
.readthedocs.yml @AA-Turner
111112

112113
# Sections
114+
Doc/c-api/ @ZeroIntensity
113115
Doc/reference/ @willingc @AA-Turner
114116
Doc/whatsnew/ @AA-Turner
115117

@@ -130,7 +132,9 @@ Tools/c-analyzer/ @ericsnowcurrently
130132
Tools/check-c-api-docs/ @ZeroIntensity
131133

132134
# Fuzzing
133-
Modules/_xxtestfuzz/ @ammaraskar
135+
Modules/_xxtestfuzz/ @python/fuzzers
136+
Lib/test/test_xxtestfuzz.py @python/fuzzers
137+
.github/workflows/reusable-cifuzz.yml @python/fuzzers
134138

135139
# Limited C API & Stable ABI
136140
Doc/c-api/stable.rst @encukou
@@ -143,22 +147,24 @@ Misc/externals.spdx.json @sethmlarson
143147
Misc/sbom.spdx.json @sethmlarson
144148
Tools/build/generate_sbom.py @sethmlarson
145149

150+
# ABI check
151+
Misc/libabigail.abignore @encukou
152+
146153

147154
# ----------------------------------------------------------------------------
148155
# Platform Support
149156
# ----------------------------------------------------------------------------
150157

151158
# Android
152-
Android/ @mhsmith @freakboy3742
159+
Platforms/Android/ @mhsmith @freakboy3742
153160
Doc/using/android.rst @mhsmith @freakboy3742
154161
Lib/_android_support.py @mhsmith @freakboy3742
155162
Lib/test/test_android.py @mhsmith @freakboy3742
156163

157164
# iOS
158165
Doc/using/ios.rst @freakboy3742
159166
Lib/_ios_support.py @freakboy3742
160-
Apple/ @freakboy3742
161-
iOS/ @freakboy3742
167+
Platforms/Apple/ @freakboy3742
162168

163169
# macOS
164170
Mac/ @python/macos-team
@@ -169,13 +175,14 @@ Lib/test/test__osx_support.py @python/macos-team
169175
Tools/wasm/README.md @brettcannon @freakboy3742 @emmatyping
170176

171177
# WebAssembly (Emscripten)
172-
Tools/wasm/config.site-wasm32-emscripten @freakboy3742 @emmatyping
173-
Tools/wasm/emscripten @freakboy3742 @emmatyping
178+
Platforms/emscripten @freakboy3742 @emmatyping
179+
Tools/wasm/emscripten @freakboy3742 @emmatyping
174180

175181
# WebAssembly (WASI)
176-
Tools/wasm/wasi-env @brettcannon @emmatyping
177-
Tools/wasm/wasi.py @brettcannon @emmatyping
178-
Tools/wasm/wasi @brettcannon @emmatyping
182+
Platforms/WASI @brettcannon @emmatyping @savannahostrowski
183+
Tools/wasm/wasi-env @brettcannon @emmatyping @savannahostrowski
184+
Tools/wasm/wasi.py @brettcannon @emmatyping @savannahostrowski
185+
Tools/wasm/wasi @brettcannon @emmatyping @savannahostrowski
179186

180187
# Windows
181188
PC/ @python/windows-team
@@ -254,45 +261,51 @@ Include/pyhash.h @gpshead @picnixz
254261
Python/pyhash.c @gpshead @picnixz
255262

256263
# The import system (including importlib)
257-
**/*import* @brettcannon @ericsnowcurrently @ncoghlan @warsaw
258-
Python/import.c @brettcannon @ericsnowcurrently @ncoghlan @warsaw @kumaraditya303
264+
**/*import* @brettcannon @ericsnowcurrently @ncoghlan @warsaw @FFY00
265+
Python/import.c @brettcannon @ericsnowcurrently @ncoghlan @warsaw @FFY00 @kumaraditya303
259266
**/*freeze* @ericsnowcurrently
260267
**/*frozen* @ericsnowcurrently
261268
**/*modsupport* @ericsnowcurrently
262-
**/*modulefinder* @ericsnowcurrently
269+
**/*modulefinder* @ericsnowcurrently @FFY00
263270
**/*moduleobject* @ericsnowcurrently
264271
**/*multiphase* @ericsnowcurrently
265-
**/*pkgutil* @ericsnowcurrently
272+
**/*pkgutil* @ericsnowcurrently @FFY00
266273
**/*pythonrun* @ericsnowcurrently
267-
**/*runpy* @ericsnowcurrently
274+
**/*runpy* @ericsnowcurrently @FFY00
268275
**/*singlephase* @ericsnowcurrently
269276
Doc/c-api/module.rst @ericsnowcurrently
270277
Lib/test/test_module/ @ericsnowcurrently
271-
Python/dynload_*.c @ericsnowcurrently
278+
Python/dynload_*.c @ericsnowcurrently @FFY00
272279

273280
# Initialisation
274-
**/*initconfig* @ericsnowcurrently
275-
**/*pathconfig* @ericsnowcurrently
276-
**/*preconfig* @ericsnowcurrently
281+
**/*initconfig* @ericsnowcurrently @FFY00
282+
**/*pathconfig* @ericsnowcurrently @FFY00
283+
**/*preconfig* @ericsnowcurrently @FFY00
277284
Doc/library/sys_path_init.rst @FFY00
278285
Doc/c-api/init_config.rst @FFY00
279286

280287
# Interpreter main program
281-
Modules/main.c @ericsnowcurrently
282-
Programs/_bootstrap_python.c @ericsnowcurrently
283-
Programs/python.c @ericsnowcurrently
288+
Modules/main.c @ericsnowcurrently @FFY00
289+
Programs/_bootstrap_python.c @ericsnowcurrently @FFY00
290+
Programs/python.c @ericsnowcurrently @FFY00
284291

285292
# JIT
293+
.github/workflows/jit.yml @savannahostrowski
286294
Include/internal/pycore_jit.h @brandtbucher @savannahostrowski @diegorusso
287295
Python/jit.c @brandtbucher @savannahostrowski @diegorusso
288296
Tools/jit/ @brandtbucher @savannahostrowski @diegorusso
289297
InternalDocs/jit.md @brandtbucher @savannahostrowski @diegorusso @AA-Turner
290298

299+
# Lazy imports (PEP 810)
300+
Objects/lazyimportobject.c @yhg1s @DinoV @pablogsal
301+
Include/internal/pycore_lazyimportobject.h @yhg1s @DinoV @pablogsal
302+
Lib/test/test_lazy_import @yhg1s @DinoV @pablogsal
303+
291304
# Micro-op / μop / Tier 2 Optimiser
292305
Python/optimizer.c @markshannon @Fidget-Spinner
293-
Python/optimizer_analysis.c @markshannon @tomasr8 @Fidget-Spinner
294-
Python/optimizer_bytecodes.c @markshannon @tomasr8 @Fidget-Spinner
295-
Python/optimizer_symbols.c @markshannon @tomasr8 @Fidget-Spinner
306+
Python/optimizer_analysis.c @markshannon @tomasr8 @Fidget-Spinner @savannahostrowski
307+
Python/optimizer_bytecodes.c @markshannon @tomasr8 @Fidget-Spinner @savannahostrowski
308+
Python/optimizer_symbols.c @markshannon @tomasr8 @Fidget-Spinner @savannahostrowski
296309

297310
# Parser, Lexer, and Grammar
298311
Grammar/python.gram @pablogsal @lysnikolaou
@@ -304,8 +317,8 @@ Tools/peg_generator/ @pablogsal @lysnikolaou
304317

305318
# Runtime state/lifecycle
306319
**/*gil* @ericsnowcurrently
307-
**/*pylifecycle* @ericsnowcurrently @ZeroIntensity
308-
**/*pystate* @ericsnowcurrently @ZeroIntensity
320+
**/*pylifecycle* @ericsnowcurrently @ZeroIntensity @FFY00
321+
**/*pystate* @ericsnowcurrently @ZeroIntensity @FFY00
309322
Include/internal/pycore_*_init.h @ericsnowcurrently
310323
Include/internal/pycore_*_state.h @ericsnowcurrently
311324
Include/internal/pycore_atexit.h @ericsnowcurrently
@@ -413,18 +426,19 @@ Lib/dataclasses.py @ericvsmith
413426
Lib/test/test_dataclasses/ @ericvsmith
414427

415428
# Dates and times
416-
Doc/**/*time.rst @pganssle @abalkin
417-
Doc/library/zoneinfo.rst @pganssle
418-
Include/datetime.h @pganssle @abalkin
419-
Include/internal/pycore_time.h @pganssle @abalkin
420-
Lib/test/test_zoneinfo/ @pganssle
421-
Lib/zoneinfo/ @pganssle
422-
Lib/*time.py @pganssle @abalkin
423-
Lib/test/datetimetester.py @pganssle @abalkin
424-
Lib/test/test_*time.py @pganssle @abalkin
425-
Modules/*zoneinfo* @pganssle
426-
Modules/*time* @pganssle @abalkin
427-
Python/pytime.c @pganssle @abalkin
429+
Doc/**/*time.rst @pganssle @StanFromIreland
430+
Doc/library/datetime-* @pganssle @StanFromIreland
431+
Doc/library/zoneinfo.rst @pganssle @StanFromIreland
432+
Include/datetime.h @pganssle @StanFromIreland
433+
Include/internal/pycore_time.h @pganssle @StanFromIreland
434+
Lib/test/test_zoneinfo/ @pganssle @StanFromIreland
435+
Lib/zoneinfo/ @pganssle @StanFromIreland
436+
Lib/*time.py @pganssle @StanFromIreland
437+
Lib/test/datetimetester.py @pganssle @StanFromIreland
438+
Lib/test/test_*time.py @pganssle @StanFromIreland
439+
Modules/*zoneinfo* @pganssle @StanFromIreland
440+
Modules/*time* @pganssle @StanFromIreland
441+
Python/pytime.c @pganssle @StanFromIreland
428442

429443
# Dbm
430444
Doc/library/dbm.rst @corona10 @erlend-aasland @serhiy-storchaka
@@ -463,8 +477,9 @@ Lib/test/test_functools.py @rhettinger
463477
Modules/_functoolsmodule.c @rhettinger
464478

465479
# Garbage collector
466-
Modules/gcmodule.c @pablogsal
467-
Doc/library/gc.rst @pablogsal
480+
Modules/gcmodule.c @pablogsal
481+
Doc/library/gc.rst @pablogsal
482+
InternalDocs/garbage_collector.md @pablogsal
468483

469484
# Gettext
470485
Doc/library/gettext.rst @tomasr8
@@ -491,13 +506,13 @@ Lib/idlelib/ @terryjreedy
491506
Lib/turtledemo/ @terryjreedy
492507

493508
# importlib.metadata
494-
Doc/library/importlib.metadata.rst @jaraco @warsaw
495-
Lib/importlib/metadata/ @jaraco @warsaw
496-
Lib/test/test_importlib/metadata/ @jaraco @warsaw
509+
Doc/library/importlib.metadata.rst @jaraco @warsaw @FFY00
510+
Lib/importlib/metadata/ @jaraco @warsaw @FFY00
511+
Lib/test/test_importlib/metadata/ @jaraco @warsaw @FFY00
497512

498513
# importlib.resources
499-
Doc/library/importlib.resources.abc.rst @jaraco @warsaw
500-
Doc/library/importlib.resources.rst @jaraco @warsaw
514+
Doc/library/importlib.resources.abc.rst @jaraco @warsaw @FFY00
515+
Doc/library/importlib.resources.rst @jaraco @warsaw @FFY00
501516
Lib/importlib/resources/ @jaraco @warsaw @FFY00
502517
Lib/test/test_importlib/resources/ @jaraco @warsaw @FFY00
503518

@@ -558,9 +573,9 @@ Lib/shutil.py @giampaolo
558573
Lib/test/test_shutil.py @giampaolo
559574

560575
# Site
561-
Lib/site.py @FFY00
562-
Lib/test/test_site.py @FFY00
563-
Doc/library/site.rst @FFY00
576+
Lib/site.py @FFY00 @warsaw
577+
Lib/test/test_site.py @FFY00 @warsaw
578+
Doc/library/site.rst @FFY00 @warsaw
564579

565580
# string.templatelib
566581
Doc/library/string.templatelib.rst @lysnikolaou @AA-Turner
@@ -571,10 +586,10 @@ Lib/test/test_string/test_templatelib.py @lysnikolaou @AA-Turner
571586
**/*sysconfig* @FFY00
572587

573588
# SQLite 3
574-
Doc/library/sqlite3.rst @berkerpeksag @erlend-aasland
575-
Lib/sqlite3/ @berkerpeksag @erlend-aasland
576-
Lib/test/test_sqlite3/ @berkerpeksag @erlend-aasland
577-
Modules/_sqlite/ @berkerpeksag @erlend-aasland
589+
Doc/library/sqlite3.rst @erlend-aasland
590+
Lib/sqlite3/ @erlend-aasland
591+
Lib/test/test_sqlite3/ @erlend-aasland
592+
Modules/_sqlite/ @erlend-aasland
578593

579594
# Subprocess
580595
Lib/subprocess.py @gpshead
@@ -607,9 +622,6 @@ Modules/_typesmodule.c @AA-Turner
607622
Lib/unittest/mock.py @cjw296
608623
Lib/test/test_unittest/testmock/ @cjw296
609624

610-
# Urllib
611-
**/*robotparser* @berkerpeksag
612-
613625
# Venv
614626
**/*venv* @vsajip @FFY00
615627

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ body:
3434
label: "CPython versions tested on:"
3535
multiple: true
3636
options:
37-
- "3.9"
3837
- "3.10"
3938
- "3.11"
4039
- "3.12"
4140
- "3.13"
4241
- "3.14"
4342
- "3.15"
43+
- "3.16"
4444
- "CPython main branch"
4545
validations:
4646
required: true

.github/ISSUE_TEMPLATE/crash.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ body:
2727
label: "CPython versions tested on:"
2828
multiple: true
2929
options:
30-
- "3.9"
3130
- "3.10"
3231
- "3.11"
3332
- "3.12"
3433
- "3.13"
3534
- "3.14"
3635
- "3.15"
36+
- "3.16"
3737
- "CPython main branch"
3838
validations:
3939
required: true

.github/ISSUE_TEMPLATE/documentation.md

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Documentation
2+
description: Report a problem with the documentation
3+
labels: ["docs"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
> [!NOTE]
9+
> Trivial changes (for example typos) don’t require an issue before opening a PR.
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: "Documentation"
14+
description: "A clear and concise description of the issue. Include a link to the page."
15+
validations:
16+
required: true

.github/actionlint.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
self-hosted-runner:
2-
# Pending https://github.com/rhysd/actionlint/issues/533
3-
# and https://github.com/rhysd/actionlint/issues/571
4-
labels: ["windows-11-arm", "macos-15-intel"]
5-
61
config-variables: null
72

83
paths:

0 commit comments

Comments
 (0)