Skip to content

Commit 2646539

Browse files
authored
Merge branch 'main' into 109311-remove-ss-in-float-complex-dunders
2 parents 9862537 + 9b9cdb6 commit 2646539

File tree

2,847 files changed

+336036
-154193
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,847 files changed

+336036
-154193
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.*']
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",

.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: 0 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

.github/CODEOWNERS

Lines changed: 80 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,39 +5,43 @@
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
3337
Objects/call.c @markshannon
3438
Python/ceval*.c @markshannon
3539
Python/ceval*.h @markshannon
40+
Python/codegen.c @markshannon @iritkatriel
3641
Python/compile.c @markshannon @iritkatriel
3742
Python/assemble.c @markshannon @iritkatriel
3843
Python/flowgraph.c @markshannon @iritkatriel
3944
Python/instruction_sequence.c @iritkatriel
40-
Python/ast_opt.c @isidentical
4145
Python/bytecodes.c @markshannon
4246
Python/optimizer*.c @markshannon
4347
Python/optimizer_analysis.c @Fidget-Spinner
@@ -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
@@ -157,10 +187,13 @@ Include/internal/pycore_time.h @pganssle @abalkin
157187
/Tools/cases_generator/ @markshannon
158188

159189
# AST
160-
Python/ast.c @isidentical @JelleZijlstra
161-
Parser/asdl.py @isidentical @JelleZijlstra
162-
Parser/asdl_c.py @isidentical @JelleZijlstra
163-
Lib/ast.py @isidentical @JelleZijlstra
190+
Python/ast.c @isidentical @JelleZijlstra @eclips4
191+
Python/ast_preprocess.c @isidentical @eclips4
192+
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
193+
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
194+
Lib/ast.py @isidentical @JelleZijlstra @eclips4
195+
Lib/_ast_unparse.py @isidentical @JelleZijlstra @eclips4
196+
Lib/test/test_ast/ @eclips4
164197

165198
# Mock
166199
/Lib/unittest/mock.py @cjw296
@@ -205,15 +238,16 @@ Doc/c-api/stable.rst @encukou
205238
**/*bisect* @rhettinger
206239
**/*heapq* @rhettinger
207240
**/*functools* @rhettinger
208-
**/*decimal* @rhettinger
209241

210242
**/*dataclasses* @ericvsmith
211243

212244
**/*ensurepip* @pfmoore @pradyunsg
213245

214-
**/*idlelib* @terryjreedy
215246
/Doc/library/idle.rst @terryjreedy
247+
**/*idlelib* @terryjreedy
248+
**/*turtledemo* @terryjreedy
216249

250+
**/*annotationlib* @JelleZijlstra
217251
**/*typing* @JelleZijlstra @AlexWaygood
218252

219253
**/*ftplib @giampaolo
@@ -252,8 +286,8 @@ Modules/_interp*module.c @ericsnowcurrently
252286
Lib/test/test_interpreters/ @ericsnowcurrently
253287

254288
# Android
255-
**/*Android* @mhsmith
256-
**/*android* @mhsmith
289+
**/*Android* @mhsmith @freakboy3742
290+
**/*android* @mhsmith @freakboy3742
257291

258292
# iOS (but not termios)
259293
**/iOS* @freakboy3742
@@ -264,7 +298,12 @@ Lib/test/test_interpreters/ @ericsnowcurrently
264298
**/*-ios* @freakboy3742
265299

266300
# WebAssembly
267-
/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
268307

269308
# SBOM
270309
/Misc/externals.spdx.json @sethmlarson
@@ -274,3 +313,21 @@ Lib/test/test_interpreters/ @ericsnowcurrently
274313
# Config Parser
275314
Lib/configparser.py @jaraco
276315
Lib/test/test_configparser.py @jaraco
316+
317+
# Doc sections
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

0 commit comments

Comments
 (0)