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

Commite06a69a

Browse files
committed
gh-85283: _stat extension uses the limited C API
The _stat C extension is now built with the limited C API.
1 parent4116592 commite06a69a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
The ``_stat`` C extension is now built with the:ref:`limited C API
2+
+<limited-c-api>`. Patch by Victor Stinner.

‎Modules/_stat.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
*
1212
*/
1313

14+
#definePy_LIMITED_API 0x030d0000
15+
1416
#include"Python.h"
1517

1618
#ifdef__cplusplus

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp