Skip to content

Commit 44badf8

Browse files
authored
CPython 3.14.3 -> 3.14.4 (#1079)
1 parent f8430b7 commit 44badf8

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

cpython-unix/patch-python-3.14-asyncio-static.patch

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
From b7d722547bcc9e92dca4837b9fdbe7457788820b Mon Sep 17 00:00:00 2001
1+
From 805dec280697c8f6ee3707d015563430cc704cb7 Mon Sep 17 00:00:00 2001
22
From: Kumar Aditya <kumaraditya@python.org>
33
Date: Wed, 16 Jul 2025 22:09:08 +0530
4-
Subject: [PATCH 1/1] gh-136669: build `_asyncio` as static module (#136670)
4+
Subject: [PATCH] gh-136669: build `_asyncio` as static module (#136670)
55

66
`_asyncio` is now built as a static module so that thread states can be accessed directly via registers and avoids the overhead of function call.
77
---
@@ -19,7 +19,7 @@ index 00000000000..0d93397ff35
1919
@@ -0,0 +1 @@
2020
+:mod:`!_asyncio` is now statically linked for improved performance.
2121
diff --git a/Modules/Setup.stdlib.in b/Modules/Setup.stdlib.in
22-
index 3a38a60a152..86c8eb27c0a 100644
22+
index 905ea4aa2e5..7f4c4a80673 100644
2323
--- a/Modules/Setup.stdlib.in
2424
+++ b/Modules/Setup.stdlib.in
2525
@@ -32,7 +32,6 @@
@@ -30,7 +30,7 @@ index 3a38a60a152..86c8eb27c0a 100644
3030
@MODULE__BISECT_TRUE@_bisect _bisectmodule.c
3131
@MODULE__CSV_TRUE@_csv _csv.c
3232
@MODULE__HEAPQ_TRUE@_heapq _heapqmodule.c
33-
@@ -193,3 +192,9 @@
33+
@@ -190,3 +189,9 @@
3434
# Limited API template modules; must be built as shared modules.
3535
@MODULE_XXLIMITED_TRUE@xxlimited xxlimited.c
3636
@MODULE_XXLIMITED_35_TRUE@xxlimited_35 xxlimited_35.c
@@ -41,31 +41,31 @@ index 3a38a60a152..86c8eb27c0a 100644
4141
+
4242
+@MODULE__ASYNCIO_TRUE@_asyncio _asynciomodule.c
4343
diff --git a/Modules/_remote_debugging_module.c b/Modules/_remote_debugging_module.c
44-
index d72031137e0..b50e5e403a1 100644
44+
index a26e6820f55..a8c9b077a09 100644
4545
--- a/Modules/_remote_debugging_module.c
4646
+++ b/Modules/_remote_debugging_module.c
47-
@@ -811,7 +811,7 @@ _Py_RemoteDebug_GetAsyncioDebugAddress(proc_handle_t* handle)
47+
@@ -826,7 +826,7 @@ _Py_RemoteDebug_GetAsyncioDebugAddress(proc_handle_t* handle)
4848
}
4949
#elif defined(__linux__)
5050
// On Linux, search for asyncio debug in executable or DLL
51-
- address = search_linux_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython");
52-
+ address = search_linux_map_for_section(handle, "AsyncioDebug", "python");
51+
- address = search_linux_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython", NULL);
52+
+ address = search_linux_map_for_section(handle, "AsyncioDebug", "python", NULL);
5353
if (address == 0) {
5454
// Error out: 'python' substring covers both executable and DLL
5555
PyObject *exc = PyErr_GetRaisedException();
56-
@@ -820,10 +820,10 @@ _Py_RemoteDebug_GetAsyncioDebugAddress(proc_handle_t* handle)
56+
@@ -835,10 +835,10 @@ _Py_RemoteDebug_GetAsyncioDebugAddress(proc_handle_t* handle)
5757
}
5858
#elif defined(__APPLE__) && TARGET_OS_OSX
5959
// On macOS, try libpython first, then fall back to python
60-
- address = search_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython");
61-
+ address = search_map_for_section(handle, "AsyncioDebug", "libpython");
60+
- address = search_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython", NULL);
61+
+ address = search_map_for_section(handle, "AsyncioDebug", "libpython", NULL);
6262
if (address == 0) {
6363
PyErr_Clear();
64-
- address = search_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython");
65-
+ address = search_map_for_section(handle, "AsyncioDebug", "python");
64+
- address = search_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython", NULL);
65+
+ address = search_map_for_section(handle, "AsyncioDebug", "python", NULL);
6666
}
6767
if (address == 0) {
6868
// Error out: 'python' substring covers both executable and DLL
6969
--
70-
2.39.5 (Apple Git-154)
70+
2.50.1 (Apple Git-155)
7171

pythonbuild/downloads.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
"python_tag": "cp313",
8585
},
8686
"cpython-3.14": {
87-
"url": "https://www.python.org/ftp/python/3.14.3/Python-3.14.3.tar.xz",
88-
"size": 23778568,
89-
"sha256": "a97d5549e9ad81fe17159ed02c68774ad5d266c72f8d9a0b5a9c371fe85d902b",
90-
"version": "3.14.3",
87+
"url": "https://www.python.org/ftp/python/3.14.4/Python-3.14.4.tar.xz",
88+
"size": 23855332,
89+
"sha256": "d923c51303e38e249136fc1bdf3568d56ecb03214efdef48516176d3d7faaef8",
90+
"version": "3.14.4",
9191
"licenses": ["Python-2.0", "CNRI-Python"],
9292
"license_file": "LICENSE.cpython.txt",
9393
"python_tag": "cp314",

0 commit comments

Comments
 (0)