Skip to content

Commit f14b4f8

Browse files
authored
Merge branch 'main' into bugfix/SDX-12236-configure-std-c11
2 parents b4fbd36 + bfac7d2 commit f14b4f8

File tree

109 files changed

+1966
-2378
lines changed

Some content is hidden

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

109 files changed

+1966
-2378
lines changed

.github/CODEOWNERS

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,12 @@ Lib/test/test_interpreters/ @ericsnowcurrently
298298
**/*-ios* @freakboy3742
299299

300300
# WebAssembly
301-
/Tools/wasm/ @brettcannon @freakboy3742
301+
Tools/wasm/config.site-wasm32-emscripten @freakboy3742
302+
/Tools/wasm/README.md @brettcannon @freakboy3742
303+
/Tools/wasm/wasi-env @brettcannon
304+
/Tools/wasm/wasi.py @brettcannon
305+
/Tools/wasm/emscripten @freakboy3742
306+
/Tools/wasm/wasi @brettcannon
302307

303308
# SBOM
304309
/Misc/externals.spdx.json @sethmlarson

.github/workflows/mypy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ on:
1919
- "Tools/jit/**"
2020
- "Tools/peg_generator/**"
2121
- "Tools/requirements-dev.txt"
22-
- "Tools/wasm/**"
2322
workflow_dispatch:
2423

2524
permissions:
@@ -51,7 +50,6 @@ jobs:
5150
"Tools/clinic",
5251
"Tools/jit",
5352
"Tools/peg_generator",
54-
"Tools/wasm",
5553
]
5654
steps:
5755
- uses: actions/checkout@v4

Doc/c-api/import.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,6 @@ Importing Modules
1616
This is a wrapper around :c:func:`PyImport_Import()` which takes a
1717
:c:expr:`const char *` as an argument instead of a :c:expr:`PyObject *`.
1818
19-
.. c:function:: PyObject* PyImport_ImportModuleNoBlock(const char *name)
20-
21-
This function is a deprecated alias of :c:func:`PyImport_ImportModule`.
22-
23-
.. versionchanged:: 3.3
24-
This function used to fail immediately when the import lock was held
25-
by another thread. In Python 3.3 though, the locking scheme switched
26-
to per-module locks for most purposes, so this function's special
27-
behaviour isn't needed anymore.
28-
29-
.. deprecated-removed:: 3.13 3.15
30-
Use :c:func:`PyImport_ImportModule` instead.
31-
3219
3320
.. c:function:: PyObject* PyImport_ImportModuleEx(const char *name, PyObject *globals, PyObject *locals, PyObject *fromlist)
3421

Doc/data/refcounts.dat

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,9 +1093,6 @@ PyImport_ImportModuleLevelObject:PyObject*:locals:0:???
10931093
PyImport_ImportModuleLevelObject:PyObject*:fromlist:0:???
10941094
PyImport_ImportModuleLevelObject:int:level::
10951095

1096-
PyImport_ImportModuleNoBlock:PyObject*::+1:
1097-
PyImport_ImportModuleNoBlock:const char*:name::
1098-
10991096
PyImport_ReloadModule:PyObject*::+1:
11001097
PyImport_ReloadModule:PyObject*:m:0:
11011098

Doc/data/stable_abi.dat

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Doc/deprecations/c-api-pending-removal-in-3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Pending removal in Python 3.15
22
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
33

44
* The bundled copy of ``libmpdecimal``.
5-
* The :c:func:`PyImport_ImportModuleNoBlock`:
5+
* The :c:func:`!PyImport_ImportModuleNoBlock`:
66
Use :c:func:`PyImport_ImportModule` instead.
77
* :c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`:
88
Use :c:func:`PyWeakref_GetRef` instead. The `pythoncapi-compat project

Doc/library/concurrent.futures.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
.. versionadded:: 3.2
88

9-
**Source code:** :source:`Lib/concurrent/futures/thread.py`
10-
and :source:`Lib/concurrent/futures/process.py`
9+
**Source code:** :source:`Lib/concurrent/futures/thread.py`,
10+
:source:`Lib/concurrent/futures/process.py`,
11+
and :source:`Lib/concurrent/futures/interpreter.py`
1112

1213
--------------
1314

Doc/library/functools.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,7 @@ The :mod:`functools` module defines the following functions:
403403
>>> remove_first_dear(message)
404404
'Hello, dear world!'
405405

406-
:data:`!Placeholder` has no special treatment when used in a keyword
407-
argument to :func:`!partial`.
406+
:data:`!Placeholder` cannot be passed to :func:`!partial` as a keyword argument.
408407

409408
.. versionchanged:: 3.14
410409
Added support for :data:`Placeholder` in positional arguments.

Doc/library/heapq-binary-tree.svg

Lines changed: 211 additions & 0 deletions
Loading

Doc/library/heapq.rst

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,11 @@ elements are considered to be infinite. The interesting property of a heap is
312312
that ``a[0]`` is always its smallest element.
313313

314314
The strange invariant above is meant to be an efficient memory representation
315-
for a tournament. The numbers below are *k*, not ``a[k]``::
315+
for a tournament. The numbers below are *k*, not ``a[k]``:
316316

317-
0
318-
319-
1 2
320-
321-
3 4 5 6
322-
323-
7 8 9 10 11 12 13 14
324-
325-
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
317+
.. figure:: heapq-binary-tree.svg
318+
:align: center
319+
:alt: Example (min-heap) binary tree.
326320

327321
In the tree above, each cell *k* is topping ``2*k+1`` and ``2*k+2``. In a usual
328322
binary tournament we see in sports, each cell is the winner over the two cells

0 commit comments

Comments
 (0)