Skip to content

Commit 0a18c01

Browse files
authored
Merge branch 'main' into shutil_unpack_archive_false_positives
2 parents f090e3d + 2041a95 commit 0a18c01

File tree

2,790 files changed

+306111
-143666
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,790 files changed

+306111
-143666
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.13', '3.12', '3.11', '3.10', '3.9', '3.8']
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",

.gitattributes

Lines changed: 4 additions & 3 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,7 +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
97-
Python/tier2_redundancy_eliminator_bytecodes.c.h generated
98+
Python/optimizer_cases.c.h generated
9899
Python/opcode_targets.h generated
99100
Python/stdlib_module_names.h generated
100101
Tools/peg_generator/pegen/grammar_parser.py generated

.github/CODEOWNERS

Lines changed: 70 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,44 @@
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
2833
Objects/type* @markshannon
2934
Objects/codeobject.c @markshannon
3035
Objects/frameobject.c @markshannon
3136
Objects/call.c @markshannon
32-
Python/ceval*.c @markshannon @gvanrossum
33-
Python/ceval*.h @markshannon @gvanrossum
37+
Python/ceval*.c @markshannon
38+
Python/ceval*.h @markshannon
39+
Python/codegen.c @markshannon @iritkatriel
3440
Python/compile.c @markshannon @iritkatriel
3541
Python/assemble.c @markshannon @iritkatriel
3642
Python/flowgraph.c @markshannon @iritkatriel
37-
Python/ast_opt.c @isidentical
38-
Python/bytecodes.c @markshannon @gvanrossum
39-
Python/optimizer*.c @markshannon @gvanrossum
43+
Python/instruction_sequence.c @iritkatriel
44+
Python/bytecodes.c @markshannon
45+
Python/optimizer*.c @markshannon
4046
Python/optimizer_analysis.c @Fidget-Spinner
41-
Python/tier2_redundancy_eliminator_bytecodes.c @Fidget-Spinner
47+
Python/optimizer_bytecodes.c @Fidget-Spinner
48+
Python/symtable.c @JelleZijlstra @carljm
49+
Lib/_pyrepl/* @pablogsal @lysnikolaou @ambv
4250
Lib/test/test_patma.py @brandtbucher
4351
Lib/test/test_type_*.py @JelleZijlstra
44-
Lib/test/test_capi/test_misc.py @markshannon @gvanrossum
52+
Lib/test/test_capi/test_misc.py @markshannon
53+
Lib/test/test_pyrepl/* @pablogsal @lysnikolaou @ambv
4554
Tools/c-analyzer/ @ericsnowcurrently
4655

4756
# dbm
@@ -66,32 +75,40 @@ Include/internal/pycore_freelist.h @ericsnowcurrently
6675
Include/internal/pycore_global_objects.h @ericsnowcurrently
6776
Include/internal/pycore_obmalloc.h @ericsnowcurrently
6877
Include/internal/pycore_pymem.h @ericsnowcurrently
78+
Include/internal/pycore_stackref.h @Fidget-Spinner
6979
Modules/main.c @ericsnowcurrently
7080
Programs/_bootstrap_python.c @ericsnowcurrently
7181
Programs/python.c @ericsnowcurrently
7282
Tools/build/generate_global_objects.py @ericsnowcurrently
7383

84+
# Initialization
85+
Doc/library/sys_path_init.rst @FFY00
86+
Doc/c-api/init_config.rst @FFY00
87+
88+
# getpath
89+
**/*getpath* @FFY00
90+
91+
# site
92+
**/*site.py @FFY00
93+
Doc/library/site.rst @FFY00
94+
7495
# Exceptions
75-
Lib/traceback.py @iritkatriel
7696
Lib/test/test_except*.py @iritkatriel
77-
Lib/test/test_traceback.py @iritkatriel
7897
Objects/exceptions.c @iritkatriel
79-
Python/traceback.c @iritkatriel
8098

8199
# Hashing
82100
**/*hashlib* @gpshead @tiran
83101
**/*pyhash* @gpshead @tiran
84102
**/sha* @gpshead @tiran
85103
Modules/md5* @gpshead @tiran
86104
**/*blake* @gpshead @tiran
87-
Modules/_blake2/** @gpshead @tiran
88105
Modules/_hacl/** @gpshead
89106

90107
# logging
91108
**/*logging* @vsajip
92109

93110
# venv
94-
**/*venv* @vsajip
111+
**/*venv* @vsajip @FFY00
95112

96113
# Launcher
97114
/PC/launcher.c @vsajip
@@ -119,7 +136,7 @@ Python/dynload_*.c @ericsnowcurrently
119136
Lib/test/test_module/ @ericsnowcurrently
120137
Doc/c-api/module.rst @ericsnowcurrently
121138
**/*importlib/resources/* @jaraco @warsaw @FFY00
122-
**/importlib/metadata/* @jaraco @warsaw
139+
**/*importlib/metadata/* @jaraco @warsaw
123140

124141
# Dates and times
125142
**/*datetime* @pganssle @abalkin
@@ -150,13 +167,15 @@ Include/internal/pycore_time.h @pganssle @abalkin
150167
/Lib/test/test_tokenize.py @pablogsal @lysnikolaou
151168

152169
# Code generator
153-
/Tools/cases_generator/ @gvanrossum
170+
/Tools/cases_generator/ @markshannon
154171

155172
# AST
156-
Python/ast.c @isidentical
157-
Parser/asdl.py @isidentical
158-
Parser/asdl_c.py @isidentical
159-
Lib/ast.py @isidentical
173+
Python/ast.c @isidentical @JelleZijlstra @eclips4
174+
Python/ast_opt.c @isidentical @eclips4
175+
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
176+
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
177+
Lib/ast.py @isidentical @JelleZijlstra @eclips4
178+
Lib/test/test_ast/ @eclips4
160179

161180
# Mock
162181
/Lib/unittest/mock.py @cjw296
@@ -173,6 +192,10 @@ Lib/ast.py @isidentical
173192
/Lib/test/test_subprocess.py @gpshead
174193
/Modules/*subprocess* @gpshead
175194

195+
# debugger
196+
**/*pdb* @gaogaotiantian
197+
**/*bdb* @gaogaotiantian
198+
176199
# Limited C API & stable ABI
177200
Tools/build/stable_abi.py @encukou
178201
Misc/stable_abi.toml @encukou
@@ -194,18 +217,19 @@ Doc/c-api/stable.rst @encukou
194217
**/*itertools* @rhettinger
195218
**/*collections* @rhettinger
196219
**/*random* @rhettinger
197-
**/*queue* @rhettinger
198220
**/*bisect* @rhettinger
199221
**/*heapq* @rhettinger
200222
**/*functools* @rhettinger
201-
**/*decimal* @rhettinger
202223

203224
**/*dataclasses* @ericvsmith
204225

205226
**/*ensurepip* @pfmoore @pradyunsg
206227

228+
/Doc/library/idle.rst @terryjreedy
207229
**/*idlelib* @terryjreedy
230+
**/*turtledemo* @terryjreedy
208231

232+
**/*annotationlib* @JelleZijlstra
209233
**/*typing* @JelleZijlstra @AlexWaygood
210234

211235
**/*ftplib @giampaolo
@@ -240,12 +264,34 @@ Doc/howto/clinic.rst @erlend-aasland
240264
**/*interpreteridobject.* @ericsnowcurrently
241265
**/*crossinterp* @ericsnowcurrently
242266
Lib/test/support/interpreters/ @ericsnowcurrently
243-
Modules/_xx*interp*module.c @ericsnowcurrently
267+
Modules/_interp*module.c @ericsnowcurrently
244268
Lib/test/test_interpreters/ @ericsnowcurrently
245269

270+
# Android
271+
**/*Android* @mhsmith @freakboy3742
272+
**/*android* @mhsmith @freakboy3742
273+
274+
# iOS (but not termios)
275+
**/iOS* @freakboy3742
276+
**/ios* @freakboy3742
277+
**/*_iOS* @freakboy3742
278+
**/*_ios* @freakboy3742
279+
**/*-iOS* @freakboy3742
280+
**/*-ios* @freakboy3742
281+
246282
# WebAssembly
247-
/Tools/wasm/ @brettcannon
283+
/Tools/wasm/ @brettcannon @freakboy3742
248284

249285
# SBOM
286+
/Misc/externals.spdx.json @sethmlarson
250287
/Misc/sbom.spdx.json @sethmlarson
251288
/Tools/build/generate_sbom.py @sethmlarson
289+
290+
# Config Parser
291+
Lib/configparser.py @jaraco
292+
Lib/test/test_configparser.py @jaraco
293+
294+
# Doc sections
295+
Doc/reference/ @willingc
296+
297+
**/*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

.github/ISSUE_TEMPLATE/crash.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ 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"
34+
- "3.13"
35+
- "3.14"
3536
- "CPython main branch"
3637
validations:
3738
required: true

0 commit comments

Comments
 (0)