summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-10-19 10:10:22 (GMT)
committerGitHub <noreply@github.com>2021-10-19 10:10:22 (GMT)
commit52af0756b2ffc6788e364971d05cdaf127d77d5a (patch)
tree8a2175ea934e639eac93bf33b5a22efde8979e9c /Modules
parent0a4c82ddd34a3578684b45b76f49cd289a08740b (diff)
downloadcpython-52af0756b2ffc6788e364971d05cdaf127d77d5a.zip
cpython-52af0756b2ffc6788e364971d05cdaf127d77d5a.tar.gz
cpython-52af0756b2ffc6788e364971d05cdaf127d77d5a.tar.bz2
bpo-45434: Only exclude <stdlib.h> in Python 3.11 limited C API (GH-29027)
The Python 3.11 limited C API no longer includes stdlib.h, stdio.h, string.h and errno.h. * Exclude Py_MEMCPY() from Python 3.11 limited C API. * xxlimited C extension is now built with Python 3.11 limited C API.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/xxlimited.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
index 9bd9a54..93895c4 100644
--- a/Modules/xxlimited.c
+++ b/Modules/xxlimited.c
@@ -1,4 +1,3 @@
-
/* Use this file as a template to start implementing a module that
also declares object types. All occurrences of 'Xxo' should be changed
to something reasonable for your objects. After that, all other
@@ -55,7 +54,7 @@
pass
*/
-#define Py_LIMITED_API 0x030a0000
+#define Py_LIMITED_API 0x030b0000
#include "Python.h"