Skip to content

Commit ffa8e28

Browse files
authored
Merge branch 'main' into 70039_smtplib_host_port
2 parents eb2b520 + cbe0cb7 commit ffa8e28

File tree

3,517 files changed

+703474
-239417
lines changed

Some content is hidden

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

3,517 files changed

+703474
-239417
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 & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
{
2-
"build": {
3-
"dockerfile": "Dockerfile"
4-
},
2+
"image": "ghcr.io/python/devcontainer:latest",
53
"onCreateCommand": [
64
// Install common tooling.
75
"dnf",
86
"install",
97
"-y",
10-
"which",
11-
"zsh",
12-
"fish",
138
// For umask fix below.
149
"/usr/bin/setfacl"
1510
],
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+
}

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
root = true
22

3-
[*.{py,c,cpp,h,js,rst,md,yml}]
3+
[*.{py,c,cpp,h,js,rst,md,yml,yaml,gram}]
44
trim_trailing_whitespace = true
55
insert_final_newline = true
66
indent_style = space
77

8-
[*.{py,c,cpp,h}]
8+
[*.{py,c,cpp,h,gram}]
99
indent_size = 4
1010

1111
[*.rst]
1212
indent_size = 3
1313

14-
[*.{js,yml}]
14+
[*.{js,yml,yaml}]
1515
indent_size = 2

.gitattributes

Lines changed: 12 additions & 3 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
@@ -27,8 +28,6 @@ Lib/test/cjkencodings/* noeol
2728
Lib/test/tokenizedata/coding20731.py noeol
2829
Lib/test/decimaltestdata/*.decTest noeol
2930
Lib/test/test_email/data/*.txt noeol
30-
Lib/test/test_importlib/resources/data01/* noeol
31-
Lib/test/test_importlib/resources/namespacedata01/* noeol
3231
Lib/test/xmltestdata/* noeol
3332

3433
# Shell scripts should have LF even on Windows because of Cygwin
@@ -69,6 +68,8 @@ PCbuild/readme.txt dos
6968
**/clinic/*.cpp.h generated
7069
**/clinic/*.h.h generated
7170
*_db.h generated
71+
Doc/_static/tachyon-example-*.html generated
72+
Doc/c-api/lifecycle.dot.svg generated
7273
Doc/data/stable_abi.dat generated
7374
Doc/library/token-list.inc generated
7475
Include/internal/pycore_ast.h generated
@@ -77,13 +78,20 @@ Include/internal/pycore_opcode.h generated
7778
Include/internal/pycore_opcode_metadata.h generated
7879
Include/internal/pycore_*_generated.h generated
7980
Include/internal/pycore_uop_ids.h generated
81+
Include/internal/pycore_uop_metadata.h generated
8082
Include/opcode.h generated
8183
Include/opcode_ids.h generated
8284
Include/token.h generated
8385
Lib/_opcode_metadata.py generated
86+
Lib/idlelib/help.html generated
8487
Lib/keyword.py generated
88+
Lib/pydoc_data/topics.py generated
89+
Lib/pydoc_data/module_docs.py generated
90+
Lib/test/certdata/*.pem generated
91+
Lib/test/certdata/*.0 generated
8592
Lib/test/levenshtein_examples.json generated
8693
Lib/test/test_stable_abi_ctypes.py generated
94+
Lib/test/test_zoneinfo/data/*.json generated
8795
Lib/token.py generated
8896
Misc/sbom.spdx.json generated
8997
Objects/typeslots.inc generated
@@ -94,9 +102,10 @@ Programs/test_frozenmain.h generated
94102
Python/Python-ast.c generated
95103
Python/executor_cases.c.h generated
96104
Python/generated_cases.c.h generated
97-
Python/tier2_redundancy_eliminator_cases.c.h generated
105+
Python/optimizer_cases.c.h generated
98106
Python/opcode_targets.h generated
99107
Python/stdlib_module_names.h generated
100108
Tools/peg_generator/pegen/grammar_parser.py generated
101109
aclocal.m4 generated
102110
configure generated
111+
*.min.js generated

0 commit comments

Comments
 (0)