Skip to content

Commit d3e1c13

Browse files
committed
Merge in the main branch
2 parents c8d0f9e + 2ff8608 commit d3e1c13

File tree

1,785 files changed

+110992
-55969
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,785 files changed

+110992
-55969
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"image": "ghcr.io/python/wasicontainer:latest",
3+
"onCreateCommand": [
4+
// Install common tooling.
5+
"dnf",
6+
"install",
7+
"-y",
8+
// For umask fix below.
9+
"/usr/bin/setfacl"
10+
],
11+
"updateContentCommand": {
12+
// Using the shell for `nproc` usage.
13+
"python": "python3 Tools/wasm/wasi build --quiet -- --with-pydebug -C"
14+
},
15+
"postCreateCommand": {
16+
// https://github.com/orgs/community/discussions/26026
17+
"umask fix: workspace": ["sudo", "setfacl", "-bnR", "."],
18+
"umask fix: /tmp": ["sudo", "setfacl", "-bnR", "/tmp"]
19+
},
20+
"customizations": {
21+
"vscode": {
22+
"extensions": [
23+
// Highlighting for Parser/Python.asdl.
24+
"brettcannon.zephyr-asdl",
25+
// Highlighting for configure.ac.
26+
"maelvalais.autoconf",
27+
// C auto-complete.
28+
"ms-vscode.cpptools",
29+
// Python auto-complete.
30+
"ms-python.python"
31+
],
32+
"settings": {
33+
"C_Cpp.default.compilerPath": "/usr/bin/clang",
34+
"C_Cpp.default.cStandard": "c11",
35+
"C_Cpp.default.defines": [
36+
"CONFIG_64",
37+
"Py_BUILD_CORE"
38+
],
39+
"C_Cpp.default.includePath": [
40+
"${workspaceFolder}/*",
41+
"${workspaceFolder}/Include/**"
42+
],
43+
// https://github.com/microsoft/vscode-cpptools/issues/10732
44+
"C_Cpp.errorSquiggles": "disabled",
45+
"editor.insertSpaces": true,
46+
"editor.rulers": [
47+
80
48+
],
49+
"editor.tabSize": 4,
50+
"editor.trimAutoWhitespace": true,
51+
"files.associations": {
52+
"*.h": "c"
53+
},
54+
"files.encoding": "utf8",
55+
"files.eol": "\n",
56+
"files.insertFinalNewline": true,
57+
"files.trimTrailingWhitespace": true,
58+
"python.analysis.diagnosticSeverityOverrides": {
59+
// Complains about shadowing the stdlib w/ the stdlib.
60+
"reportShadowedImports": "none",
61+
// Doesn't like _frozen_importlib.
62+
"reportMissingImports": "none"
63+
},
64+
"python.analysis.extraPaths": [
65+
"Lib"
66+
],
67+
"[restructuredtext]": {
68+
"editor.tabSize": 3
69+
}
70+
}
71+
}
72+
}
73+
}

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Include/opcode_ids.h generated
8383
Include/token.h generated
8484
Lib/_opcode_metadata.py generated
8585
Lib/keyword.py generated
86+
Lib/idlelib/help.html generated
8687
Lib/test/certdata/*.pem generated
8788
Lib/test/certdata/*.0 generated
8889
Lib/test/levenshtein_examples.json generated
@@ -103,3 +104,4 @@ Python/stdlib_module_names.h generated
103104
Tools/peg_generator/pegen/grammar_parser.py generated
104105
aclocal.m4 generated
105106
configure generated
107+
*.min.js generated

.github/CODEOWNERS

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,16 @@ Tools/patchcheck/ @AA-Turner
8080
# ----------------------------------------------------------------------------
8181

8282
# Autotools
83-
configure* @erlend-aasland @corona10 @AA-Turner
84-
Makefile.pre.in @erlend-aasland @AA-Turner
85-
Modules/Setup* @erlend-aasland @AA-Turner
83+
configure* @erlend-aasland @corona10 @AA-Turner @emmatyping
84+
Makefile.pre.in @erlend-aasland @AA-Turner @emmatyping
85+
Modules/makesetup @erlend-aasland @AA-Turner @emmatyping
86+
Modules/Setup* @erlend-aasland @AA-Turner @emmatyping
8687
Tools/build/regen-configure.sh @AA-Turner
8788

89+
# generate-build-details
90+
Tools/build/generate-build-details.py @FFY00
91+
Lib/test/test_build_details.py @FFY00
92+
8893

8994
# ----------------------------------------------------------------------------
9095
# Documentation
@@ -149,6 +154,7 @@ Lib/test/test_android.py @mhsmith @freakboy3742
149154
# iOS
150155
Doc/using/ios.rst @freakboy3742
151156
Lib/_ios_support.py @freakboy3742
157+
Apple/ @freakboy3742
152158
iOS/ @freakboy3742
153159

154160
# macOS
@@ -157,16 +163,16 @@ Lib/_osx_support.py @python/macos-team
157163
Lib/test/test__osx_support.py @python/macos-team
158164

159165
# WebAssembly
160-
Tools/wasm/README.md @brettcannon @freakboy3742
166+
Tools/wasm/README.md @brettcannon @freakboy3742 @emmatyping
161167

162168
# WebAssembly (Emscripten)
163-
Tools/wasm/config.site-wasm32-emscripten @freakboy3742
164-
Tools/wasm/emscripten @freakboy3742
169+
Tools/wasm/config.site-wasm32-emscripten @freakboy3742 @emmatyping
170+
Tools/wasm/emscripten @freakboy3742 @emmatyping
165171

166172
# WebAssembly (WASI)
167-
Tools/wasm/wasi-env @brettcannon
168-
Tools/wasm/wasi.py @brettcannon
169-
Tools/wasm/wasi @brettcannon
173+
Tools/wasm/wasi-env @brettcannon @emmatyping
174+
Tools/wasm/wasi.py @brettcannon @emmatyping
175+
Tools/wasm/wasi @brettcannon @emmatyping
170176

171177
# Windows
172178
PC/ @python/windows-team
@@ -239,10 +245,10 @@ Lib/test/test_getpath.py @FFY00
239245
Modules/getpath* @FFY00
240246

241247
# Hashing / ``hash()`` and related
242-
Include/cpython/pyhash.h @gpshead @picnixz @tiran
243-
Include/internal/pycore_pyhash.h @gpshead @picnixz @tiran
244-
Include/pyhash.h @gpshead @picnixz @tiran
245-
Python/pyhash.c @gpshead @picnixz @tiran
248+
Include/cpython/pyhash.h @gpshead @picnixz
249+
Include/internal/pycore_pyhash.h @gpshead @picnixz
250+
Include/pyhash.h @gpshead @picnixz
251+
Python/pyhash.c @gpshead @picnixz
246252

247253
# The import system (including importlib)
248254
**/*import* @brettcannon @ericsnowcurrently @ncoghlan @warsaw
@@ -369,14 +375,14 @@ Lib/calendar.py @AA-Turner
369375
Lib/test/test_calendar.py @AA-Turner
370376

371377
# Cryptographic Primitives and Applications
372-
**/*hashlib* @gpshead @picnixz @tiran
373-
**/*hashopenssl* @gpshead @picnixz @tiran
378+
**/*hashlib* @gpshead @picnixz
379+
**/*hashopenssl* @gpshead @picnixz
374380
**/*hmac* @gpshead @picnixz
375381
**/*ssl* @gpshead @picnixz
376382
Modules/_hacl/ @gpshead @picnixz
377-
Modules/*blake* @gpshead @picnixz @tiran
378-
Modules/*md5* @gpshead @picnixz @tiran
379-
Modules/*sha* @gpshead @picnixz @tiran
383+
Modules/*blake* @gpshead @picnixz
384+
Modules/*md5* @gpshead @picnixz
385+
Modules/*sha* @gpshead @picnixz
380386

381387
# Codecs
382388
Modules/cjkcodecs/ @corona10
@@ -405,11 +411,15 @@ Lib/test/test_dataclasses/ @ericvsmith
405411

406412
# Dates and times
407413
Doc/**/*time.rst @pganssle @abalkin
414+
Doc/library/zoneinfo.rst @pganssle
408415
Include/datetime.h @pganssle @abalkin
409416
Include/internal/pycore_time.h @pganssle @abalkin
417+
Lib/test/test_zoneinfo/ @pganssle
418+
Lib/zoneinfo/ @pganssle
410419
Lib/*time.py @pganssle @abalkin
411420
Lib/test/datetimetester.py @pganssle @abalkin
412421
Lib/test/test_*time.py @pganssle @abalkin
422+
Modules/*zoneinfo* @pganssle
413423
Modules/*time* @pganssle @abalkin
414424
Python/pytime.c @pganssle @abalkin
415425

@@ -603,9 +613,9 @@ Lib/test/test_zipfile/_path/ @jaraco
603613
Lib/zipfile/_path/ @jaraco
604614

605615
# Zstandard
606-
Lib/compression/zstd/ @AA-Turner
607-
Lib/test/test_zstd.py @AA-Turner
608-
Modules/_zstd/ @AA-Turner
616+
Lib/compression/zstd/ @AA-Turner @emmatyping
617+
Lib/test/test_zstd.py @AA-Turner @emmatyping
618+
Modules/_zstd/ @AA-Turner @emmatyping
609619

610620
# ----------------------------------------------------------------------------
611621

.github/CONTRIBUTING.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ Please be aware that our workflow does deviate slightly from the typical GitHub
2828
project. Details on how to properly submit a pull request are covered in
2929
`Lifecycle of a Pull Request <https://devguide.python.org/getting-started/pull-request-lifecycle.html>`_.
3030
We utilize various bots and status checks to help with this, so do follow the
31-
comments they leave and their "Details" links, respectively. The key points of
32-
our workflow that are not covered by a bot or status check are:
31+
comments they leave and their "Details" links, respectively.
3332

34-
- All discussions that are not directly related to the code in the pull request
35-
should happen on `GitHub Issues <https://github.com/python/cpython/issues>`_.
36-
- Upon your first non-trivial pull request (which includes documentation changes),
37-
feel free to add yourself to ``Misc/ACKS``
33+
The final key part of our workflow is that all discussions that are not
34+
directly related to the code in the pull request should happen on
35+
`GitHub Issues <https://github.com/python/cpython/issues>`__, generally in the
36+
pull request's parent issue.
3837

3938

4039
Setting Expectations
4140
--------------------
42-
Due to the fact that this project is entirely volunteer-run (i.e. no one is paid
43-
to work on Python full-time), we unfortunately can make no guarantees as to if
41+
Due to the fact that this project is run by volunteers,
42+
unfortunately we cannot make any guarantees as to if
4443
or when a core developer will get around to reviewing your pull request.
4544
If no core developer has done a review or responded to changes made because of a
46-
"changes requested" review, please feel free to email python-dev to ask if
47-
someone could take a look at your pull request.
45+
"changes requested" review within a month, you can ask for someone to
46+
review your pull request via a post in the `Core Development Discourse
47+
category <https://discuss.python.org/c/core-dev/23>`__.
4848

4949

5050
Code of Conduct

.github/actionlint.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
self-hosted-runner:
22
# Pending https://github.com/rhysd/actionlint/issues/533
3-
labels: ["windows-11-arm"]
3+
# and https://github.com/rhysd/actionlint/issues/571
4+
labels: ["windows-11-arm", "macos-15-intel"]
45

56
config-variables: null
67

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@ updates:
1212
update-types:
1313
- "version-update:semver-minor"
1414
- "version-update:semver-patch"
15+
cooldown:
16+
# https://blog.yossarian.net/2025/11/21/We-should-all-be-using-dependency-cooldowns
17+
# Cooldowns protect against supply chain attacks by avoiding the
18+
# highest-risk window immediately after new releases.
19+
default-days: 14
1520
- package-ecosystem: "pip"
1621
directory: "/Tools/"
1722
schedule:
1823
interval: "monthly"
1924
labels:
2025
- "skip issue"
2126
- "skip news"
27+
cooldown:
28+
default-days: 14

0 commit comments

Comments
 (0)