Skip to content

Commit 630b32c

Browse files
authored
Merge branch 'main' into docs/datetime/02-29
2 parents 8c6fd9b + 8979d3a commit 630b32c

File tree

1,745 files changed

+127341
-39908
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,745 files changed

+127341
-39908
lines changed

.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.13', '3.12', '3.11', '3.10', '3.9', '3.8']
1+
trigger: ['main', '3.*']
22

33
jobs:
44
- job: Prebuild

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"image": "ghcr.io/python/devcontainer:2024.09.25.11038928730",
2+
"image": "ghcr.io/python/devcontainer:2025.05.29.15334414373",
33
"onCreateCommand": [
44
// Install common tooling.
55
"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: 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: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Modules/Setup* @erlend-aasland
3030
Objects/set* @rhettinger
3131
Objects/dict* @methane @markshannon
3232
Objects/typevarobject.c @JelleZijlstra
33+
Objects/unionobject.c @JelleZijlstra
3334
Objects/type* @markshannon
3435
Objects/codeobject.c @markshannon
3536
Objects/frameobject.c @markshannon
@@ -107,13 +108,16 @@ Objects/exceptions.c @iritkatriel
107108
# Hashing & cryptographic primitives
108109
**/*hashlib* @gpshead @tiran @picnixz
109110
**/*hashopenssl* @gpshead @tiran @picnixz
110-
**/*pyhash* @gpshead @tiran
111-
**/sha* @gpshead @tiran @picnixz
112-
Modules/md5* @gpshead @tiran @picnixz
113-
**/*blake* @gpshead @tiran @picnixz
114-
Modules/_hacl/** @gpshead
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
115116
**/*hmac* @gpshead @picnixz
116117

118+
# libssl
119+
**/*ssl* @gpshead @picnixz
120+
117121
# logging
118122
**/*logging* @vsajip
119123

@@ -164,6 +168,9 @@ Include/internal/pycore_time.h @pganssle @abalkin
164168
**/*imap* @python/email-team
165169
**/*poplib* @python/email-team
166170

171+
# Exclude .mailmap from being owned by @python/email-team
172+
/.mailmap
173+
167174
# Garbage collector
168175
/Modules/gcmodule.c @pablogsal
169176
/Doc/library/gc.rst @pablogsal
@@ -181,10 +188,11 @@ Include/internal/pycore_time.h @pganssle @abalkin
181188

182189
# AST
183190
Python/ast.c @isidentical @JelleZijlstra @eclips4
184-
Python/ast_opt.c @isidentical @eclips4
191+
Python/ast_preprocess.c @isidentical @eclips4
185192
Parser/asdl.py @isidentical @JelleZijlstra @eclips4
186193
Parser/asdl_c.py @isidentical @JelleZijlstra @eclips4
187194
Lib/ast.py @isidentical @JelleZijlstra @eclips4
195+
Lib/_ast_unparse.py @isidentical @JelleZijlstra @eclips4
188196
Lib/test/test_ast/ @eclips4
189197

190198
# Mock
@@ -273,9 +281,13 @@ Doc/howto/clinic.rst @erlend-aasland
273281
# Subinterpreters
274282
**/*interpreteridobject.* @ericsnowcurrently
275283
**/*crossinterp* @ericsnowcurrently
276-
Lib/test/support/interpreters/ @ericsnowcurrently
277284
Modules/_interp*module.c @ericsnowcurrently
285+
Lib/test/test__interp*.py @ericsnowcurrently
286+
Lib/concurrent/interpreters/ @ericsnowcurrently
287+
Lib/test/support/channels.py @ericsnowcurrently
288+
Doc/library/concurrent.interpreters.rst @ericsnowcurrently
278289
Lib/test/test_interpreters/ @ericsnowcurrently
290+
Lib/concurrent/futures/interpreter.py @ericsnowcurrently
279291

280292
# Android
281293
**/*Android* @mhsmith @freakboy3742
@@ -290,7 +302,12 @@ Lib/test/test_interpreters/ @ericsnowcurrently
290302
**/*-ios* @freakboy3742
291303

292304
# WebAssembly
293-
/Tools/wasm/ @brettcannon @freakboy3742
305+
Tools/wasm/config.site-wasm32-emscripten @freakboy3742
306+
/Tools/wasm/README.md @brettcannon @freakboy3742
307+
/Tools/wasm/wasi-env @brettcannon
308+
/Tools/wasm/wasi.py @brettcannon
309+
/Tools/wasm/emscripten @freakboy3742
310+
/Tools/wasm/wasi @brettcannon
294311

295312
# SBOM
296313
/Misc/externals.spdx.json @sethmlarson
@@ -312,3 +329,14 @@ Lib/test/test__colorize.py @hugovk
312329

313330
# Fuzzing
314331
Modules/_xxtestfuzz/ @ammaraskar
332+
333+
# t-strings
334+
**/*interpolationobject* @lysnikolaou
335+
**/*templateobject* @lysnikolaou
336+
**/*templatelib* @lysnikolaou
337+
**/*tstring* @lysnikolaou
338+
339+
# Remote debugging
340+
Python/remote_debug.h @pablogsal
341+
Python/remote_debugging.c @pablogsal
342+
Modules/_remote_debugging_module.c @pablogsal @ambv @1st1

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ body:
4040
- "3.12"
4141
- "3.13"
4242
- "3.14"
43+
- "3.15"
4344
- "CPython main branch"
4445
validations:
4546
required: true

.github/ISSUE_TEMPLATE/crash.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ body:
3333
- "3.12"
3434
- "3.13"
3535
- "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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
self-hosted-runner:
2-
labels: ["windows-aarch64"]
2+
# Pending https://github.com/rhysd/actionlint/issues/533
3+
labels: ["windows-11-arm"]
34

45
config-variables: null
56

.github/workflows/build.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ permissions:
1515
contents: read
1616

1717
concurrency:
18-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-reusable
18+
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
19+
# 'group' must be a key uniquely representing a PR or push event.
20+
# github.workflow is the workflow name
21+
# github.actor is the user invoking the workflow
22+
# github.head_ref is the source branch of the PR or otherwise blank
23+
# github.run_id is a unique number for the current run
24+
group: ${{ github.workflow }}-${{ github.actor }}-${{ github.head_ref || github.run_id }}
1925
cancel-in-progress: true
2026

2127
env:
@@ -156,26 +162,18 @@ jobs:
156162
strategy:
157163
fail-fast: false
158164
matrix:
159-
os:
160-
- windows-latest
161165
arch:
162166
- x64
167+
- Win32
168+
- arm64
163169
free-threading:
164170
- false
165171
- true
166-
include:
167-
- os: windows-latest # FIXME(diegorusso): change to os: windows-aarch64
168-
arch: arm64
169-
free-threading: false
170-
- os: windows-latest # FIXME(diegorusso): change to os: windows-aarch64
171-
arch: arm64
172-
free-threading: true
173-
- os: windows-latest
174-
arch: Win32
175-
free-threading: false
172+
exclude:
173+
# Skip Win32 on free-threaded builds
174+
- { arch: Win32, free-threading: true }
176175
uses: ./.github/workflows/reusable-windows.yml
177176
with:
178-
os: ${{ matrix.os }}
179177
arch: ${{ matrix.arch }}
180178
free-threading: ${{ matrix.free-threading }}
181179

@@ -272,7 +270,7 @@ jobs:
272270
fail-fast: false
273271
matrix:
274272
os: [ubuntu-24.04]
275-
openssl_ver: [3.0.15, 3.1.7, 3.2.3, 3.3.2, 3.4.0]
273+
openssl_ver: [3.0.16, 3.1.8, 3.2.4, 3.3.3, 3.4.1]
276274
# See Tools/ssl/make_ssl_data.py for notes on adding a new version
277275
env:
278276
OPENSSL_VER: ${{ matrix.openssl_ver }}
@@ -339,7 +337,7 @@ jobs:
339337
needs: build-context
340338
if: needs.build-context.outputs.run-tests == 'true'
341339
env:
342-
OPENSSL_VER: 3.0.15
340+
OPENSSL_VER: 3.0.16
343341
PYTHONSTRICTEXTENSIONBUILD: 1
344342
steps:
345343
- uses: actions/checkout@v4
@@ -430,8 +428,9 @@ jobs:
430428
# failing when executed from inside a virtual environment.
431429
"${VENV_PYTHON}" -m test \
432430
-W \
433-
-o \
431+
--slowest \
434432
-j4 \
433+
--timeout 900 \
435434
-x test_asyncio \
436435
-x test_multiprocessing_fork \
437436
-x test_multiprocessing_forkserver \
@@ -458,7 +457,7 @@ jobs:
458457
matrix:
459458
os: [ubuntu-24.04]
460459
env:
461-
OPENSSL_VER: 3.0.15
460+
OPENSSL_VER: 3.0.16
462461
PYTHONSTRICTEXTENSIONBUILD: 1
463462
ASAN_OPTIONS: detect_leaks=0:allocator_may_return_null=1:handle_segv=0
464463
steps:

0 commit comments

Comments
 (0)