Skip to content

Commit 889fb5f

Browse files
Merge branch 'main' into unicodedata-summary
2 parents 9769026 + acefff9 commit 889fb5f

1,620 files changed

Lines changed: 118168 additions & 61884 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: 6 additions & 1 deletion
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,6 +84,7 @@ 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
8690
Lib/idlelib/help.html generated
@@ -96,7 +100,6 @@ Lib/token.py generated
96100
Misc/sbom.spdx.json generated
97101
Modules/_testinternalcapi/test_cases.c.h generated
98102
Modules/_testinternalcapi/test_targets.h generated
99-
Objects/typeslots.inc generated
100103
PC/python3dll.c generated
101104
Parser/parser.c generated
102105
Parser/token.c generated
@@ -107,8 +110,10 @@ Python/generated_cases.c.h generated
107110
Python/optimizer_cases.c.h generated
108111
Python/opcode_targets.h generated
109112
Python/record_functions.c.h generated
113+
Python/slots_generated.c generated
110114
Python/stdlib_module_names.h generated
111115
Tools/peg_generator/pegen/grammar_parser.py generated
112116
aclocal.m4 generated
113117
configure generated
114118
*.min.js generated
119+
package-lock.json generated

.github/CODEOWNERS

Lines changed: 54 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ Lib/test/test_build_details.py @FFY00
100100
InternalDocs/ @AA-Turner
101101

102102
# Tools, Configuration, etc
103-
Doc/Makefile @AA-Turner @hugovk
104-
Doc/_static/ @AA-Turner @hugovk
105-
Doc/conf.py @AA-Turner @hugovk
106-
Doc/make.bat @AA-Turner @hugovk
107-
Doc/requirements.txt @AA-Turner @hugovk
108-
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
109109

110110
# PR Previews
111111
.readthedocs.yml @AA-Turner
@@ -132,7 +132,9 @@ Tools/c-analyzer/ @ericsnowcurrently
132132
Tools/check-c-api-docs/ @ZeroIntensity
133133

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

137139
# Limited C API & Stable ABI
138140
Doc/c-api/stable.rst @encukou
@@ -154,16 +156,15 @@ Misc/libabigail.abignore @encukou
154156
# ----------------------------------------------------------------------------
155157

156158
# Android
157-
Android/ @mhsmith @freakboy3742
159+
Platforms/Android/ @mhsmith @freakboy3742
158160
Doc/using/android.rst @mhsmith @freakboy3742
159161
Lib/_android_support.py @mhsmith @freakboy3742
160162
Lib/test/test_android.py @mhsmith @freakboy3742
161163

162164
# iOS
163165
Doc/using/ios.rst @freakboy3742
164166
Lib/_ios_support.py @freakboy3742
165-
Apple/ @freakboy3742
166-
iOS/ @freakboy3742
167+
Platforms/Apple/ @freakboy3742
167168

168169
# macOS
169170
Mac/ @python/macos-team
@@ -174,8 +175,8 @@ Lib/test/test__osx_support.py @python/macos-team
174175
Tools/wasm/README.md @brettcannon @freakboy3742 @emmatyping
175176

176177
# WebAssembly (Emscripten)
177-
Tools/wasm/config.site-wasm32-emscripten @freakboy3742 @emmatyping
178-
Tools/wasm/emscripten @freakboy3742 @emmatyping
178+
Platforms/emscripten @freakboy3742 @emmatyping
179+
Tools/wasm/emscripten @freakboy3742 @emmatyping
179180

180181
# WebAssembly (WASI)
181182
Platforms/WASI @brettcannon @emmatyping @savannahostrowski
@@ -260,35 +261,36 @@ Include/pyhash.h @gpshead @picnixz
260261
Python/pyhash.c @gpshead @picnixz
261262

262263
# The import system (including importlib)
263-
**/*import* @brettcannon @ericsnowcurrently @ncoghlan @warsaw
264-
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
265266
**/*freeze* @ericsnowcurrently
266267
**/*frozen* @ericsnowcurrently
267268
**/*modsupport* @ericsnowcurrently
268-
**/*modulefinder* @ericsnowcurrently
269+
**/*modulefinder* @ericsnowcurrently @FFY00
269270
**/*moduleobject* @ericsnowcurrently
270271
**/*multiphase* @ericsnowcurrently
271-
**/*pkgutil* @ericsnowcurrently
272+
**/*pkgutil* @ericsnowcurrently @FFY00
272273
**/*pythonrun* @ericsnowcurrently
273-
**/*runpy* @ericsnowcurrently
274+
**/*runpy* @ericsnowcurrently @FFY00
274275
**/*singlephase* @ericsnowcurrently
275276
Doc/c-api/module.rst @ericsnowcurrently
276277
Lib/test/test_module/ @ericsnowcurrently
277-
Python/dynload_*.c @ericsnowcurrently
278+
Python/dynload_*.c @ericsnowcurrently @FFY00
278279

279280
# Initialisation
280-
**/*initconfig* @ericsnowcurrently
281-
**/*pathconfig* @ericsnowcurrently
282-
**/*preconfig* @ericsnowcurrently
281+
**/*initconfig* @ericsnowcurrently @FFY00
282+
**/*pathconfig* @ericsnowcurrently @FFY00
283+
**/*preconfig* @ericsnowcurrently @FFY00
283284
Doc/library/sys_path_init.rst @FFY00
284285
Doc/c-api/init_config.rst @FFY00
285286

286287
# Interpreter main program
287-
Modules/main.c @ericsnowcurrently
288-
Programs/_bootstrap_python.c @ericsnowcurrently
289-
Programs/python.c @ericsnowcurrently
288+
Modules/main.c @ericsnowcurrently @FFY00
289+
Programs/_bootstrap_python.c @ericsnowcurrently @FFY00
290+
Programs/python.c @ericsnowcurrently @FFY00
290291

291292
# JIT
293+
.github/workflows/jit.yml @savannahostrowski
292294
Include/internal/pycore_jit.h @brandtbucher @savannahostrowski @diegorusso
293295
Python/jit.c @brandtbucher @savannahostrowski @diegorusso
294296
Tools/jit/ @brandtbucher @savannahostrowski @diegorusso
@@ -297,8 +299,7 @@ InternalDocs/jit.md @brandtbucher @savannahostrowski @diegorusso @AA-T
297299
# Lazy imports (PEP 810)
298300
Objects/lazyimportobject.c @yhg1s @DinoV @pablogsal
299301
Include/internal/pycore_lazyimportobject.h @yhg1s @DinoV @pablogsal
300-
Lib/test/test_import/test_lazy_imports.py @yhg1s @DinoV @pablogsal
301-
Lib/test/test_import/data/lazy_imports/ @yhg1s @DinoV @pablogsal
302+
Lib/test/test_lazy_import @yhg1s @DinoV @pablogsal
302303

303304
# Micro-op / μop / Tier 2 Optimiser
304305
Python/optimizer.c @markshannon @Fidget-Spinner
@@ -316,8 +317,8 @@ Tools/peg_generator/ @pablogsal @lysnikolaou
316317

317318
# Runtime state/lifecycle
318319
**/*gil* @ericsnowcurrently
319-
**/*pylifecycle* @ericsnowcurrently @ZeroIntensity
320-
**/*pystate* @ericsnowcurrently @ZeroIntensity
320+
**/*pylifecycle* @ericsnowcurrently @ZeroIntensity @FFY00
321+
**/*pystate* @ericsnowcurrently @ZeroIntensity @FFY00
321322
Include/internal/pycore_*_init.h @ericsnowcurrently
322323
Include/internal/pycore_*_state.h @ericsnowcurrently
323324
Include/internal/pycore_atexit.h @ericsnowcurrently
@@ -425,19 +426,19 @@ Lib/dataclasses.py @ericvsmith
425426
Lib/test/test_dataclasses/ @ericvsmith
426427

427428
# Dates and times
428-
Doc/**/*time.rst @pganssle @abalkin
429-
Doc/library/datetime-* @pganssle
430-
Doc/library/zoneinfo.rst @pganssle
431-
Include/datetime.h @pganssle @abalkin
432-
Include/internal/pycore_time.h @pganssle @abalkin
433-
Lib/test/test_zoneinfo/ @pganssle
434-
Lib/zoneinfo/ @pganssle
435-
Lib/*time.py @pganssle @abalkin
436-
Lib/test/datetimetester.py @pganssle @abalkin
437-
Lib/test/test_*time.py @pganssle @abalkin
438-
Modules/*zoneinfo* @pganssle
439-
Modules/*time* @pganssle @abalkin
440-
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
441442

442443
# Dbm
443444
Doc/library/dbm.rst @corona10 @erlend-aasland @serhiy-storchaka
@@ -505,13 +506,13 @@ Lib/idlelib/ @terryjreedy
505506
Lib/turtledemo/ @terryjreedy
506507

507508
# importlib.metadata
508-
Doc/library/importlib.metadata.rst @jaraco @warsaw
509-
Lib/importlib/metadata/ @jaraco @warsaw
510-
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
511512

512513
# importlib.resources
513-
Doc/library/importlib.resources.abc.rst @jaraco @warsaw
514-
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
515516
Lib/importlib/resources/ @jaraco @warsaw @FFY00
516517
Lib/test/test_importlib/resources/ @jaraco @warsaw @FFY00
517518

@@ -572,9 +573,9 @@ Lib/shutil.py @giampaolo
572573
Lib/test/test_shutil.py @giampaolo
573574

574575
# Site
575-
Lib/site.py @FFY00
576-
Lib/test/test_site.py @FFY00
577-
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
578579

579580
# string.templatelib
580581
Doc/library/string.templatelib.rst @lysnikolaou @AA-Turner
@@ -585,10 +586,10 @@ Lib/test/test_string/test_templatelib.py @lysnikolaou @AA-Turner
585586
**/*sysconfig* @FFY00
586587

587588
# SQLite 3
588-
Doc/library/sqlite3.rst @berkerpeksag @erlend-aasland
589-
Lib/sqlite3/ @berkerpeksag @erlend-aasland
590-
Lib/test/test_sqlite3/ @berkerpeksag @erlend-aasland
591-
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
592593

593594
# Subprocess
594595
Lib/subprocess.py @gpshead
@@ -621,9 +622,6 @@ Modules/_typesmodule.c @AA-Turner
621622
Lib/unittest/mock.py @cjw296
622623
Lib/test/test_unittest/testmock/ @cjw296
623624

624-
# Urllib
625-
**/*robotparser* @berkerpeksag
626-
627625
# Venv
628626
**/*venv* @vsajip @FFY00
629627

.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/actionlint.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
self-hosted-runner:
2-
# Pending https://github.com/rhysd/actionlint/pull/615
3-
labels: ["windows-2025-vs2026"]
4-
51
config-variables: null
62

73
paths:

.github/dependabot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: "monthly"
6+
interval: "quarterly"
77
labels:
88
- "skip issue"
99
- "skip news"
@@ -12,6 +12,10 @@ updates:
1212
update-types:
1313
- "version-update:semver-minor"
1414
- "version-update:semver-patch"
15+
groups:
16+
actions:
17+
patterns:
18+
- "*"
1519
cooldown:
1620
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
1721
# Cooldowns protect against supply chain attacks by avoiding the
@@ -20,7 +24,7 @@ updates:
2024
- package-ecosystem: "pip"
2125
directory: "/Tools/"
2226
schedule:
23-
interval: "monthly"
27+
interval: "quarterly"
2428
labels:
2529
- "skip issue"
2630
- "skip news"

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
# Only ever run once
1313
- opened
1414

15+
permissions:
16+
contents: read
1517

1618
jobs:
1719
add-header:
@@ -20,7 +22,7 @@ jobs:
2022
issues: write
2123
timeout-minutes: 5
2224
steps:
23-
- uses: actions/github-script@v8
25+
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
2426
with:
2527
# language=JavaScript
2628
script: |

0 commit comments

Comments
 (0)