Skip to content

Commit 63b05a0

Browse files
committed
Merge branch 'master' into static-bltin-__module__-115231
2 parents 1e25d84 + cfb1b2f commit 63b05a0

2,606 files changed

Lines changed: 287239 additions & 136586 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.

.azure-pipelines/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
trigger: ['main', '3.12', '3.11', '3.10', '3.9', '3.8', '3.7']
1+
trigger: ['main', '3.13', '3.12', '3.11', '3.10', '3.9', '3.8']
22

33
jobs:
44
- job: Prebuild

.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,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: 4 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
@@ -77,11 +75,14 @@ Include/internal/pycore_opcode.h generated
7775
Include/internal/pycore_opcode_metadata.h generated
7876
Include/internal/pycore_*_generated.h generated
7977
Include/internal/pycore_uop_ids.h generated
78+
Include/internal/pycore_uop_metadata.h generated
8079
Include/opcode.h generated
8180
Include/opcode_ids.h generated
8281
Include/token.h generated
8382
Lib/_opcode_metadata.py generated
8483
Lib/keyword.py generated
84+
Lib/test/certdata/*.pem generated
85+
Lib/test/certdata/*.0 generated
8586
Lib/test/levenshtein_examples.json generated
8687
Lib/test/test_stable_abi_ctypes.py generated
8788
Lib/token.py generated
@@ -94,6 +95,7 @@ Programs/test_frozenmain.h generated
9495
Python/Python-ast.c generated
9596
Python/executor_cases.c.h generated
9697
Python/generated_cases.c.h generated
98+
Python/optimizer_cases.c.h generated
9799
Python/opcode_targets.h generated
98100
Python/stdlib_module_names.h generated
99101
Tools/peg_generator/pegen/grammar_parser.py generated

.github/CODEOWNERS

Lines changed: 55 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313

1414
# Build system
1515
configure* @erlend-aasland @corona10
16+
Makefile.pre.in @erlend-aasland
17+
Modules/Setup* @erlend-aasland
1618

1719
# asyncio
18-
**/*asyncio* @1st1 @asvetlov @gvanrossum @kumaraditya303 @willingc
20+
**/*asyncio* @1st1 @asvetlov @kumaraditya303 @willingc
1921

2022
# Core
2123
**/*context* @1st1
@@ -29,17 +31,23 @@ Objects/type* @markshannon
2931
Objects/codeobject.c @markshannon
3032
Objects/frameobject.c @markshannon
3133
Objects/call.c @markshannon
32-
Python/ceval*.c @markshannon @gvanrossum
33-
Python/ceval*.h @markshannon @gvanrossum
34+
Python/ceval*.c @markshannon
35+
Python/ceval*.h @markshannon
36+
Python/codegen.c @markshannon @iritkatriel
3437
Python/compile.c @markshannon @iritkatriel
3538
Python/assemble.c @markshannon @iritkatriel
3639
Python/flowgraph.c @markshannon @iritkatriel
37-
Python/ast_opt.c @isidentical
38-
Python/bytecodes.c @markshannon @gvanrossum
39-
Python/optimizer*.c @markshannon @gvanrossum
40+
Python/instruction_sequence.c @iritkatriel
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
4047
Lib/test/test_patma.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
4351
Tools/c-analyzer/ @ericsnowcurrently
4452

4553
# dbm
@@ -64,25 +72,22 @@ Include/internal/pycore_freelist.h @ericsnowcurrently
6472
Include/internal/pycore_global_objects.h @ericsnowcurrently
6573
Include/internal/pycore_obmalloc.h @ericsnowcurrently
6674
Include/internal/pycore_pymem.h @ericsnowcurrently
75+
Include/internal/pycore_stackref.h @Fidget-Spinner
6776
Modules/main.c @ericsnowcurrently
6877
Programs/_bootstrap_python.c @ericsnowcurrently
6978
Programs/python.c @ericsnowcurrently
7079
Tools/build/generate_global_objects.py @ericsnowcurrently
7180

7281
# Exceptions
73-
Lib/traceback.py @iritkatriel
7482
Lib/test/test_except*.py @iritkatriel
75-
Lib/test/test_traceback.py @iritkatriel
7683
Objects/exceptions.c @iritkatriel
77-
Python/traceback.c @iritkatriel
7884

7985
# Hashing
8086
**/*hashlib* @gpshead @tiran
8187
**/*pyhash* @gpshead @tiran
8288
**/sha* @gpshead @tiran
8389
Modules/md5* @gpshead @tiran
8490
**/*blake* @gpshead @tiran
85-
Modules/_blake2/** @gpshead @tiran
8691
Modules/_hacl/** @gpshead
8792

8893
# logging
@@ -117,7 +122,7 @@ Python/dynload_*.c @ericsnowcurrently
117122
Lib/test/test_module/ @ericsnowcurrently
118123
Doc/c-api/module.rst @ericsnowcurrently
119124
**/*importlib/resources/* @jaraco @warsaw @FFY00
120-
**/importlib/metadata/* @jaraco @warsaw
125+
**/*importlib/metadata/* @jaraco @warsaw
121126

122127
# Dates and times
123128
**/*datetime* @pganssle @abalkin
@@ -148,13 +153,15 @@ Include/internal/pycore_time.h @pganssle @abalkin
148153
/Lib/test/test_tokenize.py @pablogsal @lysnikolaou
149154

150155
# Code generator
151-
/Tools/cases_generator/ @gvanrossum
156+
/Tools/cases_generator/ @markshannon
152157

153158
# AST
154-
Python/ast.c @isidentical
155-
Parser/asdl.py @isidentical
156-
Parser/asdl_c.py @isidentical
157-
Lib/ast.py @isidentical
159+
Python/ast.c @isidentical @JelleZijlstra @eclips4
160+
Python/ast_opt.c @isidentical @eclips4
161+
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
162+
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
163+
Lib/ast.py @isidentical @JelleZijlstra @eclips4
164+
Lib/test/test_ast/ @eclips4
158165

159166
# Mock
160167
/Lib/unittest/mock.py @cjw296
@@ -171,6 +178,10 @@ Lib/ast.py @isidentical
171178
/Lib/test/test_subprocess.py @gpshead
172179
/Modules/*subprocess* @gpshead
173180

181+
# debugger
182+
**/*pdb* @gaogaotiantian
183+
**/*bdb* @gaogaotiantian
184+
174185
# Limited C API & stable ABI
175186
Tools/build/stable_abi.py @encukou
176187
Misc/stable_abi.toml @encukou
@@ -192,18 +203,19 @@ Doc/c-api/stable.rst @encukou
192203
**/*itertools* @rhettinger
193204
**/*collections* @rhettinger
194205
**/*random* @rhettinger
195-
**/*queue* @rhettinger
196206
**/*bisect* @rhettinger
197207
**/*heapq* @rhettinger
198208
**/*functools* @rhettinger
199-
**/*decimal* @rhettinger
200209

201210
**/*dataclasses* @ericvsmith
202211

203212
**/*ensurepip* @pfmoore @pradyunsg
204213

214+
/Doc/library/idle.rst @terryjreedy
205215
**/*idlelib* @terryjreedy
216+
**/*turtledemo* @terryjreedy
206217

218+
**/*annotationlib* @JelleZijlstra
207219
**/*typing* @JelleZijlstra @AlexWaygood
208220

209221
**/*ftplib @giampaolo
@@ -238,12 +250,34 @@ Doc/howto/clinic.rst @erlend-aasland
238250
**/*interpreteridobject.* @ericsnowcurrently
239251
**/*crossinterp* @ericsnowcurrently
240252
Lib/test/support/interpreters/ @ericsnowcurrently
241-
Modules/_xx*interp*module.c @ericsnowcurrently
253+
Modules/_interp*module.c @ericsnowcurrently
242254
Lib/test/test_interpreters/ @ericsnowcurrently
243255

256+
# Android
257+
**/*Android* @mhsmith @freakboy3742
258+
**/*android* @mhsmith @freakboy3742
259+
260+
# iOS (but not termios)
261+
**/iOS* @freakboy3742
262+
**/ios* @freakboy3742
263+
**/*_iOS* @freakboy3742
264+
**/*_ios* @freakboy3742
265+
**/*-iOS* @freakboy3742
266+
**/*-ios* @freakboy3742
267+
244268
# WebAssembly
245-
/Tools/wasm/ @brettcannon
269+
/Tools/wasm/ @brettcannon @freakboy3742
246270

247271
# SBOM
272+
/Misc/externals.spdx.json @sethmlarson
248273
/Misc/sbom.spdx.json @sethmlarson
249274
/Tools/build/generate_sbom.py @sethmlarson
275+
276+
# Config Parser
277+
Lib/configparser.py @jaraco
278+
Lib/test/test_configparser.py @jaraco
279+
280+
# Doc sections
281+
Doc/reference/ @willingc
282+
283+
**/*weakref* @kumaraditya303

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ 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"
4343
- "CPython main branch"
4444
validations:
4545
required: true

0 commit comments

Comments
 (0)