mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Issue #21354: PyCFunction_New function is exposed by python DLL again.
This commit is contained in:
parent
2034caa0c4
commit
9df36c9456
@ -34,6 +34,8 @@ Core and Builtins
|
||||
- Issue #24044: Fix possible null pointer dereference in list.sort in out of
|
||||
memory conditions.
|
||||
|
||||
- Issue #21354: PyCFunction_New function is exposed by python DLL again.
|
||||
|
||||
Library
|
||||
-------
|
||||
|
||||
|
@ -16,7 +16,7 @@ static int numfree = 0;
|
||||
/* undefine macro trampoline to PyCFunction_NewEx */
|
||||
#undef PyCFunction_New
|
||||
|
||||
PyObject *
|
||||
PyAPI_FUNC(PyObject *)
|
||||
PyCFunction_New(PyMethodDef *ml, PyObject *self)
|
||||
{
|
||||
return PyCFunction_NewEx(ml, self, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user