Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e7a07d

Browse files
vstinnerGlyphack
authored andcommitted
pythongh-85283: Build _uuid extension with limited C API (python#111010)
1 parent0c6c262 commit1e7a07d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

‎Doc/whatsnew/3.13.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,8 @@ Build Changes
933933
library, GCC built-in atomic functions, or MSVC interlocked intrinsics.
934934

935935
* The ``errno``, ``md5``, ``resource``, ``winsound``, ``_ctypes_test``,
936-
``_scproxy``, ``_stat``and ``_testimportmultiple`` C extensions are now
937-
built with the:ref:`limited C API<limited-c-api>`.
936+
``_scproxy``, ``_stat``, ``_testimportmultiple``and ``_uuid`` C extensions
937+
are nowbuilt with the:ref:`limited C API<limited-c-api>`.
938938
(Contributed by Victor Stinner in:gh:`85283`.)
939939

940940

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
The ``errno``, ``md5``, ``resource``, ``winsound``, ``_ctypes_test``,
2-
``_scproxy``, ``_stat``and ``_testimportmultiple`` C extensions are now built
3-
with the:ref:`limited C API<limited-c-api>`.
2+
``_scproxy``, ``_stat``, ``_testimportmultiple``and ``_uuid`` C extensions are
3+
now builtwith the:ref:`limited C API<limited-c-api>`.
44
Patch by Victor Stinner.

‎Modules/_uuidmodule.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* DCE compatible Universally Unique Identifier library.
44
*/
55

6+
// Need limited C API version 3.13 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
7+
#definePy_LIMITED_API 0x030d0000
8+
69
#include"Python.h"
710
#if defined(HAVE_UUID_H)
811
// AIX, FreeBSD, libuuid with pkgconf

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp