Skip to content

Commit 359f710

Browse files
committed
Merge 3.4
2 parents 70fa340 + b2784b3 commit 359f710

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ Core and Builtins
8989
- Issue #24044: Fix possible null pointer dereference in list.sort in out of
9090
memory conditions.
9191

92+
- Issue #21354: PyCFunction_New function is exposed by python DLL again.
93+
9294
Library
9395
-------
9496

Objects/methodobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static int numfree = 0;
1616
/* undefine macro trampoline to PyCFunction_NewEx */
1717
#undef PyCFunction_New
1818

19-
PyObject *
19+
PyAPI_FUNC(PyObject *)
2020
PyCFunction_New(PyMethodDef *ml, PyObject *self)
2121
{
2222
return PyCFunction_NewEx(ml, self, NULL);

0 commit comments

Comments
 (0)