Skip to content

Commit e98e3a2

Browse files
committed
Merge branch 'main' of https://github.com/python/cpython into manjusaka/fix-dtrace
Signed-off-by: Manjusaka <[email protected]>
2 parents 128e856 + ac06b53 commit e98e3a2

File tree

2,981 files changed

+275646
-118071
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,981 files changed

+275646
-118071
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.13', '3.12', '3.11', '3.10', '3.9', '3.8']
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

.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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*.ico binary
1111
*.jpg binary
1212
*.pck binary
13+
*.pdf binary
1314
*.png binary
1415
*.psd binary
1516
*.tar binary
@@ -67,6 +68,7 @@ PCbuild/readme.txt dos
6768
**/clinic/*.cpp.h generated
6869
**/clinic/*.h.h generated
6970
*_db.h generated
71+
Doc/c-api/lifecycle.dot.svg generated
7072
Doc/data/stable_abi.dat generated
7173
Doc/library/token-list.inc generated
7274
Include/internal/pycore_ast.h generated

.github/CODEOWNERS

Lines changed: 69 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,32 @@
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
1616
Makefile.pre.in @erlend-aasland
1717
Modules/Setup* @erlend-aasland
1818

19+
# argparse
20+
**/*argparse* @savannahostrowski
21+
1922
# asyncio
20-
**/*asyncio* @1st1 @asvetlov @gvanrossum @kumaraditya303 @willingc
23+
**/*asyncio* @1st1 @asvetlov @kumaraditya303 @willingc
2124

2225
# Core
2326
**/*context* @1st1
2427
**/*genobject* @markshannon
2528
**/*hamt* @1st1
26-
**/*jit* @brandtbucher
29+
**/*jit* @brandtbucher @savannahostrowski
2730
Objects/set* @rhettinger
2831
Objects/dict* @methane @markshannon
2932
Objects/typevarobject.c @JelleZijlstra
33+
Objects/unionobject.c @JelleZijlstra
3034
Objects/type* @markshannon
3135
Objects/codeobject.c @markshannon
3236
Objects/frameobject.c @markshannon
@@ -53,6 +57,14 @@ Tools/c-analyzer/ @ericsnowcurrently
5357
# dbm
5458
**/*dbm* @corona10 @erlend-aasland @serhiy-storchaka
5559

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+
5668
# runtime state/lifecycle
5769
**/*pylifecycle* @ericsnowcurrently
5870
**/*pystate* @ericsnowcurrently
@@ -78,24 +90,39 @@ Programs/_bootstrap_python.c @ericsnowcurrently
7890
Programs/python.c @ericsnowcurrently
7991
Tools/build/generate_global_objects.py @ericsnowcurrently
8092

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+
81104
# Exceptions
82105
Lib/test/test_except*.py @iritkatriel
83106
Objects/exceptions.c @iritkatriel
84107

85-
# Hashing
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
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
93120

94121
# logging
95122
**/*logging* @vsajip
96123

97124
# venv
98-
**/*venv* @vsajip
125+
**/*venv* @vsajip @FFY00
99126

100127
# Launcher
101128
/PC/launcher.c @vsajip
@@ -141,6 +168,9 @@ Include/internal/pycore_time.h @pganssle @abalkin
141168
**/*imap* @python/email-team
142169
**/*poplib* @python/email-team
143170

171+
# Exclude .mailmap from being owned by @python/email-team
172+
/.mailmap
173+
144174
# Garbage collector
145175
/Modules/gcmodule.c @pablogsal
146176
/Doc/library/gc.rst @pablogsal
@@ -158,10 +188,11 @@ Include/internal/pycore_time.h @pganssle @abalkin
158188

159189
# AST
160190
Python/ast.c @isidentical @JelleZijlstra @eclips4
161-
Python/ast_opt.c @isidentical @eclips4
191+
Python/ast_preprocess.c @isidentical @eclips4
162192
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
163193
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
164194
Lib/ast.py @isidentical @JelleZijlstra @eclips4
195+
Lib/_ast_unparse.py @isidentical @JelleZijlstra @eclips4
165196
Lib/test/test_ast/ @eclips4
166197

167198
# Mock
@@ -255,8 +286,8 @@ Modules/_interp*module.c @ericsnowcurrently
255286
Lib/test/test_interpreters/ @ericsnowcurrently
256287

257288
# Android
258-
**/*Android* @mhsmith
259-
**/*android* @mhsmith
289+
**/*Android* @mhsmith @freakboy3742
290+
**/*android* @mhsmith @freakboy3742
260291

261292
# iOS (but not termios)
262293
**/iOS* @freakboy3742
@@ -267,7 +298,12 @@ Lib/test/test_interpreters/ @ericsnowcurrently
267298
**/*-ios* @freakboy3742
268299

269300
# WebAssembly
270-
/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
271307

272308
# SBOM
273309
/Misc/externals.spdx.json @sethmlarson
@@ -279,4 +315,19 @@ Lib/configparser.py @jaraco
279315
Lib/test/test_configparser.py @jaraco
280316

281317
# Doc sections
282-
Doc/reference/ @willingc
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

.github/ISSUE_TEMPLATE/crash.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ body:
2727
label: "CPython versions tested on:"
2828
multiple: true
2929
options:
30-
- "3.8"
3130
- "3.9"
3231
- "3.10"
3332
- "3.11"
3433
- "3.12"
3534
- "3.13"
35+
- "3.14"
36+
- "3.15"
3637
- "CPython main branch"
3738
validations:
3839
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Please read this comment in its entirety. It's quite important.
77
It should be in the following format:
88
99
```
10-
gh-NNNNN: Summary of the changes made
10+
gh-NNNNNN: Summary of the changes made
1111
```
1212
13-
Where: gh-NNNNN refers to the GitHub issue number.
13+
Where: gh-NNNNNN refers to the GitHub issue number.
1414
1515
Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue.
1616
@@ -20,11 +20,11 @@ If this is a backport PR (PR made against branches other than `main`),
2020
please ensure that the PR title is in the following format:
2121
2222
```
23-
[X.Y] <title from the original PR> (GH-NNNN)
23+
[X.Y] <title from the original PR> (GH-NNNNNN)
2424
```
2525
26-
Where: [X.Y] is the branch name, e.g. [3.6].
26+
Where: [X.Y] is the branch name, for example: [3.13].
2727
28-
GH-NNNN refers to the PR number from `main`.
28+
GH-NNNNNN refers to the PR number from `main`.
2929
3030
-->

.github/actionlint.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
self-hosted-runner:
2+
# Pending https://github.com/rhysd/actionlint/issues/533
3+
labels: ["windows-11-arm"]
4+
5+
config-variables: null
6+
7+
paths:
8+
.github/workflows/**/*.yml:
9+
ignore:
10+
- 1st argument of function call is not assignable
11+
- SC2(015|038|086|091|097|098|129|155)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
permissions:
2020
issues: write
21+
timeout-minutes: 5
2122
steps:
2223
- uses: actions/github-script@v7
2324
with:

0 commit comments

Comments
 (0)