1 parent 986db09 commit b2784b3Copy full SHA for b2784b3
2 files changed
Misc/NEWS
@@ -34,6 +34,8 @@ Core and Builtins
34
- Issue #24044: Fix possible null pointer dereference in list.sort in out of
35
memory conditions.
36
37
+- Issue #21354: PyCFunction_New function is exposed by python DLL again.
38
+
39
Library
40
-------
41
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