Skip to content

Commit ec37f0d

Browse files
authored
Merge branch 'main' into gh-154490-zipfile-mkdir-mode
2 parents ed08556 + ab01d18 commit ec37f0d

1,794 files changed

Lines changed: 107907 additions & 65880 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.

‎.gitattributes‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ Include/internal/pycore_ast_state.h generated
8080
Include/internal/pycore_opcode.h generated
8181
Include/internal/pycore_opcode_metadata.h generated
8282
Include/internal/pycore_*_generated.h generated
83+
Include/internal/pycore_token.h generated
8384
Include/internal/pycore_uop_ids.h generated
8485
Include/internal/pycore_uop_metadata.h generated
8586
Include/opcode.h generated
8687
Include/opcode_ids.h generated
8788
Include/slots_generated.h generated
88-
Include/token.h generated
8989
Lib/_opcode_metadata.py generated
9090
Lib/idlelib/help.html generated
9191
Lib/keyword.py generated

‎.github/CODEOWNERS‎

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@
6363
.azure-pipelines/ @AA-Turner
6464

6565
# GitHub & related scripts
66-
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz @itamaro @JacobCoffee
67-
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz
68-
Lib/test/test_tools/test_compute_changes.py @AA-Turner @hugovk @webknjaz
66+
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz @itamaro @JacobCoffee @StanFromIreland
67+
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz @StanFromIreland
68+
Lib/test/test_tools/test_compute_changes.py @AA-Turner @hugovk @webknjaz @StanFromIreland
6969
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
7070

7171
# Pre-commit
72-
.pre-commit-config.yaml @hugovk @JacobCoffee
73-
.ruff.toml @hugovk @AlexWaygood @AA-Turner @JacobCoffee
72+
.pre-commit-config.yaml @hugovk @JacobCoffee @StanFromIreland
73+
.ruff.toml @hugovk @AlexWaygood @AA-Turner @JacobCoffee @StanFromIreland
7474

7575
# Patchcheck
7676
Tools/patchcheck/ @AA-Turner @itamaro
@@ -171,9 +171,6 @@ Mac/ @python/macos-team
171171
Lib/_osx_support.py @python/macos-team
172172
Lib/test/test__osx_support.py @python/macos-team
173173

174-
# WebAssembly
175-
Tools/wasm/README.md @brettcannon @freakboy3742 @emmatyping
176-
177174
# WebAssembly (Emscripten)
178175
Platforms/emscripten @freakboy3742 @emmatyping
179176
Tools/wasm/emscripten @freakboy3742 @emmatyping
@@ -226,7 +223,7 @@ Tools/cases_generator/ @markshannon
226223
Python/assemble.c @markshannon @iritkatriel
227224
Python/codegen.c @markshannon @iritkatriel
228225
Python/compile.c @markshannon @iritkatriel
229-
Python/flowgraph.c @markshannon @iritkatriel
226+
Python/flowgraph.c @markshannon @iritkatriel @eclips4
230227
Python/instruction_sequence.c @iritkatriel
231228
Python/symtable.c @JelleZijlstra @carljm
232229

@@ -293,9 +290,10 @@ Tools/jit/ @brandtbucher @savannahostrowski @diegorusso
293290
InternalDocs/jit.md @brandtbucher @savannahostrowski @diegorusso @AA-Turner
294291

295292
# Lazy imports (PEP 810)
296-
Objects/lazyimportobject.c @yhg1s @DinoV @pablogsal
297-
Include/internal/pycore_lazyimportobject.h @yhg1s @DinoV @pablogsal
298-
Lib/test/test_lazy_import @yhg1s @DinoV @pablogsal
293+
.github/workflows/reusable-test-lazy-imports-all.yml @yhg1s @DinoV @pablogsal
294+
Objects/lazyimportobject.c @yhg1s @DinoV @pablogsal
295+
Include/internal/pycore_lazyimportobject.h @yhg1s @DinoV @pablogsal
296+
Lib/test/test_lazy_import @yhg1s @DinoV @pablogsal
299297

300298
# Micro-op / μop / Tier 2 Optimiser
301299
Python/optimizer.c @markshannon @Fidget-Spinner
@@ -335,7 +333,6 @@ Modules/_remote_debugging/ @pablogsal
335333

336334
# Sub-Interpreters
337335
**/*crossinterp* @ericsnowcurrently
338-
**/*interpreteridobject.* @ericsnowcurrently
339336
Doc/library/concurrent.interpreters.rst @ericsnowcurrently
340337
Lib/concurrent/futures/interpreter.py @ericsnowcurrently
341338
Lib/concurrent/interpreters/ @ericsnowcurrently
@@ -602,6 +599,12 @@ Doc/library/tomllib.rst @encukou @hauntsaninja
602599
Lib/test/test_tomllib/ @encukou @hauntsaninja
603600
Lib/tomllib/ @encukou @hauntsaninja
604601

602+
# Turtle
603+
Doc/library/turtle.rst @StanFromIreland
604+
Doc/library/turtle-star.png @StanFromIreland
605+
Lib/test/test_turtle.py @StanFromIreland
606+
Lib/turtle.py @StanFromIreland
607+
605608
# Typing
606609
Doc/library/typing.rst @JelleZijlstra @AlexWaygood
607610
Lib/test/test_typing.py @JelleZijlstra @AlexWaygood
@@ -624,6 +627,12 @@ Lib/test/test_unittest/testmock/ @cjw296
624627
# Weakref
625628
**/*weakref* @kumaraditya303
626629

630+
# Zlib
631+
Doc/library/zlib.rst @StanFromIreland
632+
Lib/compression/zlib.py @StanFromIreland
633+
Lib/test/test_zlib.py @StanFromIreland
634+
Modules/zlibmodule.c @StanFromIreland
635+
627636
# Zipfile.Path
628637
Lib/test/test_zipfile/_path/ @jaraco
629638
Lib/zipfile/_path/ @jaraco
@@ -646,3 +655,9 @@ Modules/**/clinic/
646655
Objects/**/clinic/
647656
PC/**/clinic/
648657
Python/**/clinic/
658+
659+
# Exclude Lazy Imports=all CI carve out file
660+
Lib/test/lazy_imports_all_exclude.txt
661+
662+
# Exclude HTML IDs list
663+
Doc/tools/removed-ids.txt

‎.github/ISSUE_TEMPLATE/bug.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ body:
1616
Make sure to also search the [CPython issue tracker](https://github.com/python/cpython/issues?q=is%3Aissue+sort%3Acreated-desc) to check that the bug has not already been reported.
1717
- type: textarea
1818
attributes:
19-
label: "Bug description:"
19+
label: "Bug report"
2020
description: >
2121
Give a clear and concise description of what happened.
2222
Include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible.

‎.github/ISSUE_TEMPLATE/crash.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ body:
1010
The CPython interpreter is written in a different programming language, C. A "CPython crash" is when Python itself fails, leading to a traceback in the C stack.
1111
- type: textarea
1212
attributes:
13-
label: What happened?
13+
label: Crash report
1414
description: >
15+
Give a clear and concise description of what happened.
1516
Include a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) if possible.
1617
[Copy and paste code where possible rather than using screenshots](https://meta.stackoverflow.com/a/285557/13990016),
1718
and put any code blocks inside triple backticks.

‎.github/ISSUE_TEMPLATE/feature.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
Major feature proposals should generally be discussed on [Discourse](https://discuss.python.org/c/ideas/6) before opening a GitHub issue. Wait until it's clear that most people support your idea before filling in this form.
1313
- type: textarea
1414
attributes:
15-
label: "Proposal:"
15+
label: "Feature or enhancement"
1616
description: >
1717
Explain your proposal, why it should be implemented, and how it would be used.
1818
Add examples, if applicable.

‎.github/dependabot.yml‎

Lines changed: 119 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ updates:
77
labels:
88
- "skip issue"
99
- "skip news"
10-
ignore:
11-
- dependency-name: "*"
12-
update-types:
13-
- "version-update:semver-minor"
14-
- "version-update:semver-patch"
1510
groups:
1611
actions:
1712
patterns:
@@ -21,12 +16,128 @@ updates:
2116
# Cooldowns protect against supply chain attacks by avoiding the
2217
# highest-risk window immediately after new releases.
2318
default-days: 14
19+
2420
- package-ecosystem: "pip"
2521
directory: "/Tools/"
2622
schedule:
2723
interval: "quarterly"
28-
labels:
29-
- "skip issue"
30-
- "skip news"
24+
labels: ["skip issue", "skip news"]
25+
groups:
26+
pip:
27+
patterns: ["*"]
28+
cooldown:
29+
default-days: 14
30+
31+
# Release branches: Dependabot only reads this file from the default
32+
# branch, so each branch that should get its own actions bumps needs an
33+
# entry here with `target-branch`. Add one when a new release branch is
34+
# created, and remove when the branch reaches end-of-life.
35+
- package-ecosystem: "github-actions"
36+
target-branch: "3.15"
37+
directory: "/"
38+
schedule:
39+
interval: "quarterly"
40+
labels: ["skip issue", "skip news"]
41+
groups:
42+
actions:
43+
patterns: ["*"]
44+
cooldown:
45+
default-days: 14
46+
47+
- package-ecosystem: "github-actions"
48+
target-branch: "3.14"
49+
directory: "/"
50+
schedule:
51+
interval: "quarterly"
52+
labels: ["skip issue", "skip news"]
53+
groups:
54+
actions:
55+
patterns: ["*"]
56+
cooldown:
57+
default-days: 14
58+
59+
- package-ecosystem: "github-actions"
60+
target-branch: "3.13"
61+
directory: "/"
62+
schedule:
63+
interval: "quarterly"
64+
labels: ["skip issue", "skip news"]
65+
groups:
66+
actions:
67+
patterns: ["*"]
68+
cooldown:
69+
default-days: 14
70+
71+
- package-ecosystem: "github-actions"
72+
target-branch: "3.12"
73+
directory: "/"
74+
schedule:
75+
interval: "quarterly"
76+
labels: ["skip issue", "skip news"]
77+
groups:
78+
actions:
79+
patterns: ["*"]
80+
cooldown:
81+
default-days: 14
82+
83+
- package-ecosystem: "github-actions"
84+
target-branch: "3.11"
85+
directory: "/"
86+
schedule:
87+
interval: "quarterly"
88+
labels: ["skip issue", "skip news"]
89+
groups:
90+
actions:
91+
patterns: ["*"]
92+
cooldown:
93+
default-days: 14
94+
95+
- package-ecosystem: "github-actions"
96+
target-branch: "3.10"
97+
directory: "/"
98+
schedule:
99+
interval: "quarterly"
100+
labels: ["skip issue", "skip news"]
101+
groups:
102+
actions:
103+
patterns: ["*"]
104+
cooldown:
105+
default-days: 14
106+
107+
# Only bump bugfix branches for pip. Remove
108+
# the entry when branch goes security-only.
109+
- package-ecosystem: "pip"
110+
target-branch: "3.15"
111+
directory: "/Tools/"
112+
schedule:
113+
interval: "quarterly"
114+
labels: ["skip issue", "skip news"]
115+
groups:
116+
pip:
117+
patterns: ["*"]
118+
cooldown:
119+
default-days: 14
120+
121+
- package-ecosystem: "pip"
122+
target-branch: "3.14"
123+
directory: "/Tools/"
124+
schedule:
125+
interval: "quarterly"
126+
labels: ["skip issue", "skip news"]
127+
groups:
128+
pip:
129+
patterns: ["*"]
130+
cooldown:
131+
default-days: 14
132+
133+
- package-ecosystem: "pip"
134+
target-branch: "3.13"
135+
directory: "/Tools/"
136+
schedule:
137+
interval: "quarterly"
138+
labels: ["skip issue", "skip news"]
139+
groups:
140+
pip:
141+
patterns: ["*"]
31142
cooldown:
32143
default-days: 14

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

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)