2 parents 70fa340 + b2784b3 commit 359f710Copy full SHA for 359f710
2 files changed
Misc/NEWS
@@ -89,6 +89,8 @@ Core and Builtins
89
- Issue #24044: Fix possible null pointer dereference in list.sort in out of
90
memory conditions.
91
92
+- Issue #21354: PyCFunction_New function is exposed by python DLL again.
93
+
94
Library
95
-------
96
Objects/methodobject.c
@@ -16,7 +16,7 @@ static int numfree = 0;
16
/* undefine macro trampoline to PyCFunction_NewEx */
17
#undef PyCFunction_New
18
19
-PyObject *
+PyAPI_FUNC(PyObject *)
20
PyCFunction_New(PyMethodDef *ml, PyObject *self)
21
{
22
return PyCFunction_NewEx(ml, self, NULL);
0 commit comments