Skip to content

Commit ccf9609

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Sync Python 3.14 branch from GitHub (2026-04-28)
Summary: Imported python/cpython `3.14.4+` from upstream rev [`c181c5f`](https://www.github.com/python/cpython/commit/c181c5fa16273f0cc4d7ed20a016e0921f60fdfd) (committed 2026-04-28 13:30:12+00:00). # Commit Info Base: (`3.14.4`) - [`23116f9`](https://www.github.com/python/cpython/commit/23116f998f6789d8c2fbe5ed5b8146854c8c2a4f) (commit date: 2026-04-07 13:12:57+00:00) Imported: (`3.14.4+`) - [`c181c5f`](https://www.github.com/python/cpython/commit/c181c5fa16273f0cc4d7ed20a016e0921f60fdfd) (commit date: 2026-04-28 13:30:12+00:00) # Noteworthy file changes - Test files (1 added, 1 removed) - Low-signal files (40 added) (NEWS.d, docs, .github) Complete list of added/removed files: https://www.internalfb.com/intern/everpaste/?color=0&handle=GB6y5Cik1Uo16WMHAOEbpYrHQZ8Cbr0LAAAz Reviewed By: itamaro Differential Revision: D102886517 fbshipit-source-id: 6727892a582074e9b64715a8719c48d8dd05bbd0
1 parent 0b92dea commit ccf9609

224 files changed

Lines changed: 8614 additions & 6971 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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ Lib/test/xmltestdata/* noeol
3434
Lib/venv/scripts/common/activate text eol=lf
3535
Lib/venv/scripts/posix/* text eol=lf
3636

37+
# Prevent GitHub's web conflict editor from converting LF to CRLF
38+
*.rst text eol=lf
39+
3740
# CRLF files
3841
[attr]dos text eol=crlf
3942

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
# Only ever run once
1313
- opened
1414

15-
permissions: {}
15+
permissions:
16+
contents: read
1617

1718
jobs:
1819
add-header:

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111
- 'main'
1212
- '3.*'
1313

14-
permissions: {}
14+
permissions:
15+
contents: read
1516

1617
concurrency:
1718
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
@@ -637,6 +638,7 @@ jobs:
637638
needs.build-context.outputs.run-ci-fuzz == 'true'
638639
|| needs.build-context.outputs.run-ci-fuzz-stdlib == 'true'
639640
permissions:
641+
contents: read
640642
security-events: write
641643
strategy:
642644
fail-fast: false

.github/workflows/jit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
paths: *paths
1313
workflow_dispatch:
1414

15-
permissions: {}
15+
permissions:
16+
contents: read
1617

1718
concurrency:
1819
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5-
permissions: {}
5+
permissions:
6+
contents: read
67

78
env:
89
FORCE_COLOR: 1

.github/workflows/mypy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
- "Tools/build/compute-changes.py"
1919
- "Tools/build/deepfreeze.py"
2020
- "Tools/build/generate-build-details.py"
21+
- "Tools/build/generate_levenshtein_examples.py"
2122
- "Tools/build/generate_sbom.py"
2223
- "Tools/build/generate_stdlib_module_names.py"
2324
- "Tools/build/mypy.ini"
@@ -32,7 +33,8 @@ on:
3233
- "Tools/requirements-dev.txt"
3334
workflow_dispatch:
3435

35-
permissions: {}
36+
permissions:
37+
contents: read
3638

3739
env:
3840
PIP_DISABLE_PIP_VERSION_CHECK: 1

.github/workflows/new-bugs-announce-notifier.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
types:
66
- opened
77

8-
permissions: {}
8+
permissions:
9+
contents: read
910

1011
jobs:
1112
notify-new-bugs-announce:

.github/workflows/require-pr-label.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
pull_request:
55
types: [opened, reopened, labeled, unlabeled, synchronize]
66

7-
permissions: {}
7+
permissions:
8+
contents: read
89

910
jobs:
1011
label-dnm:

.github/workflows/reusable-cifuzz.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ on:
1313
required: true
1414
type: string
1515

16-
permissions: {}
16+
permissions:
17+
contents: read
1718

1819
jobs:
1920
cifuzz:

.github/workflows/reusable-context.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ on: # yamllint disable-line rule:truthy
5454
description: Whether to run the Windows tests
5555
value: ${{ jobs.compute-changes.outputs.run-windows-tests }} # bool
5656

57-
permissions: {}
57+
permissions:
58+
contents: read
5859

5960
jobs:
6061
compute-changes:

0 commit comments

Comments
 (0)