Skip to content

Commit 37581c5

Browse files
authored
Merge branch 'main' into gc-debug-ft-race
2 parents 918a9e8 + 2588362 commit 37581c5

1,233 files changed

Lines changed: 16253 additions & 4523 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.

‎.github/dependabot.yml‎

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ updates:
2828
cooldown:
2929
default-days: 14
3030

31+
- package-ecosystem: "npm"
32+
directory: "/Platforms/emscripten/browser_test/"
33+
schedule:
34+
interval: "quarterly"
35+
labels: ["OS-emscripten", "skip issue", "skip news"]
36+
groups:
37+
npm:
38+
patterns: ["*"]
39+
cooldown:
40+
default-days: 14
41+
3142
# Release branches: Dependabot only reads this file from the default
3243
# branch, so each branch that should get its own actions bumps needs an
3344
# entry here with `target-branch`. Add one when a new release branch is
@@ -118,14 +129,28 @@ updates:
118129
cooldown:
119130
default-days: 14
120131

121-
- package-ecosystem: "pip"
122-
target-branch: "3.13"
123-
directory: "/Tools/"
132+
# Only bump bugfix branches for npm. Remove
133+
# the entry when branch goes security-only.
134+
- package-ecosystem: "npm"
135+
target-branch: "3.15"
136+
directory: "/Platforms/emscripten/browser_test/"
124137
schedule:
125138
interval: "quarterly"
126-
labels: ["skip issue", "skip news"]
139+
labels: ["OS-emscripten", "skip issue", "skip news"]
127140
groups:
128-
pip:
141+
npm:
142+
patterns: ["*"]
143+
cooldown:
144+
default-days: 14
145+
146+
- package-ecosystem: "npm"
147+
target-branch: "3.14"
148+
directory: "/Platforms/emscripten/browser_test/"
149+
schedule:
150+
interval: "quarterly"
151+
labels: ["OS-emscripten", "skip issue", "skip news"]
152+
groups:
153+
npm:
129154
patterns: ["*"]
130155
cooldown:
131156
default-days: 14

‎.github/workflows/build.yml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,18 +346,28 @@ jobs:
346346
run: python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
347347

348348
build-ios:
349-
name: iOS
349+
name: >-
350+
iOS
351+
${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }}
350352
needs: build-context
351353
if: needs.build-context.outputs.run-ios == 'true'
352354
timeout-minutes: 60
353355
runs-on: macos-26
356+
strategy:
357+
fail-fast: false
358+
matrix:
359+
free-threading:
360+
- false
361+
- true
354362
steps:
355363
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
356364
with:
357365
persist-credentials: false
358366

359367
- name: Build and test
360-
run: python3 Platforms/Apple ci iOS --fast-ci
368+
run: >-
369+
python3 Platforms/Apple ci iOS --fast-ci
370+
${{ fromJSON(matrix.free-threading) && '--abiflags t' || '' }}
361371
362372
build-emscripten:
363373
name: 'Emscripten'

‎.gitignore‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ Lib/test/data/*
7676
Apple/iOS/Frameworks/
7777
Apple/iOS/Resources/Info.plist
7878
Apple/testbed/build
79-
Apple/testbed/Python.xcframework/*/bin
80-
Apple/testbed/Python.xcframework/*/include
81-
Apple/testbed/Python.xcframework/*/lib
82-
Apple/testbed/Python.xcframework/*/Python.framework
79+
Platforms/Apple/testbed/Python*.xcframework/*/bin
80+
Platforms/Apple/testbed/Python*.xcframework/*/include
81+
Platforms/Apple/testbed/Python*.xcframework/*/lib
82+
Platforms/Apple/testbed/Python*.xcframework/*/Python*.framework
8383
Apple/testbed/*Testbed.xcodeproj/project.xcworkspace
8484
Apple/testbed/*Testbed.xcodeproj/xcuserdata
8585
Mac/Makefile

‎Doc/builtins/functions.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ are always available. They are listed here in alphabetical order.
110110

111111
.. versionadded:: 3.10
112112

113-
.. versionchanged:: next
113+
.. versionchanged:: 3.16
114114
Added the *stop_value* and *stop_exception* parameters.
115115

116116
.. function:: all(iterable, /)
@@ -1241,7 +1241,7 @@ are always available. They are listed here in alphabetical order.
12411241
for item in iter(input_queue.get_nowait, stop_exception=queue.Empty):
12421242
process_item(item)
12431243

1244-
.. versionchanged:: next
1244+
.. versionchanged:: 3.16
12451245
Added the *stop_exception* parameter
12461246
and allowed passing *stop_value* by keyword.
12471247

‎Doc/builtins/stdtypes.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5254,7 +5254,7 @@ copying.
52545254
.. versionchanged:: 3.5
52555255
The source format is no longer restricted when casting to a byte view.
52565256

5257-
.. versionchanged:: next
5257+
.. versionchanged:: 3.16
52585258
Casting a multi-dimensional F-contiguous view to a one-dimensional
52595259
view is now supported.
52605260

@@ -5331,7 +5331,7 @@ copying.
53315331

53325332
.. versionadded:: 3.3
53335333

5334-
.. versionchanged:: next
5334+
.. versionchanged:: 3.16
53355335
Added the *order* parameter.
53365336

53375337
.. attribute:: readonly

‎Doc/c-api/capsule.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Refer to :ref:`using-capsules` for more information on using these objects.
119119
.. versionchanged:: 3.3
120120
*no_block* has no effect anymore.
121121
122-
.. versionchanged:: next
122+
.. versionchanged:: 3.16
123123
Submodules are now imported if needed.
124124
125125

‎Doc/c-api/complex.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ the :ref:`Number Protocol <number>` API or use native complex types, like
198198
199199
.. deprecated:: 3.15
200200
201-
.. versionchanged:: next
201+
.. versionchanged:: 3.16
202202
This function leaves :c:data:`errno` unchanged on success.

‎Doc/c-api/import.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@ Importing Modules
417417
(Custom importers should do this in their
418418
:py:meth:`~importlib.abc.Loader.exec_module` method.)
419419
420+
If the spec's name is dotted and *initfunc* creates the module using only
421+
the last component of the name, the module's :attr:`~module.__name__`
422+
is set to the full name from the spec.
423+
420424
On error, return NULL with an exception set.
421425
422426
.. versionadded:: 3.15

‎Doc/c-api/init_config.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Error Handling
123123
Python 3.16. Instead, the option is now processed in :c:func:`Py_RunMain`.
124124
This function became useless.
125125
126-
.. deprecated:: next
126+
.. deprecated:: 3.16
127127
128128
129129
Get Options
@@ -247,7 +247,7 @@ Initialize Python
247247
* Return ``0`` on success.
248248
* Set an error in *config* and return ``-1`` on error.
249249
250-
.. versionchanged:: next
250+
.. versionchanged:: 3.16
251251
The function no longer sets an exit code if a command line option wants
252252
to exit Python. Instead, the option is now processed in
253253
:c:func:`Py_RunMain`.
@@ -623,7 +623,7 @@ Some options are read from the :mod:`sys` attributes. For example, the option
623623
624624
.. versionadded:: 3.14
625625
626-
.. versionchanged:: next
626+
.. versionchanged:: 3.16
627627
The function now replaces :data:`sys.flags` (create a new object),
628628
instead of modifying :data:`sys.flags` in-place.
629629
@@ -755,7 +755,7 @@ PyStatus
755755
756756
Exit code. Argument passed to ``exit()``.
757757
758-
.. deprecated:: next
758+
.. deprecated:: 3.16
759759
760760
.. c:member:: const char *err_msg
761761
@@ -787,7 +787,7 @@ PyStatus
787787
788788
Exit Python with the specified exit code.
789789
790-
.. deprecated:: next
790+
.. deprecated:: 3.16
791791
:c:func:`Py_InitializeFromConfig` no longer sets an exit code if a
792792
command line option wants to exit Python. Instead, the option is
793793
now processed in :c:func:`Py_RunMain`.
@@ -807,7 +807,7 @@ PyStatus
807807
808808
Is the result an exit?
809809
810-
.. deprecated:: next
810+
.. deprecated:: 3.16
811811
:c:func:`Py_InitializeFromConfig` no longer sets an exit code if a
812812
command line option wants to exit Python. Instead, the option is
813813
now processed in :c:func:`Py_RunMain`.

‎Doc/c-api/interp-lifecycle.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Initializing and finalizing the interpreter
127127
interpreter, populating the runtime configuration structure, and querying
128128
the returned status structure.
129129
130-
.. versionchanged:: next
130+
.. versionchanged:: 3.16
131131
The function no longer returns an exit code if a command line option
132132
wants to exit Python. Instead, the option is processed in
133133
:c:func:`Py_RunMain`.

0 commit comments

Comments
 (0)