mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Backed out changeset b9c9691c72c5
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like _PyObject_CallArg1() uses more stack memory than PyObject_CallFunctionObjArgs().
This commit is contained in:
parent
c8d03187ff
commit
de4ae3d486
33 changed files with 83 additions and 71 deletions
|
@ -3197,7 +3197,7 @@ _password_callback(char *buf, int size, int rwflag, void *userdata)
|
|||
PySSL_END_ALLOW_THREADS_S(pw_info->thread_state);
|
||||
|
||||
if (pw_info->callable) {
|
||||
fn_ret = _PyObject_CallNoArg(pw_info->callable);
|
||||
fn_ret = PyObject_CallFunctionObjArgs(pw_info->callable, NULL);
|
||||
if (!fn_ret) {
|
||||
/* TODO: It would be nice to move _ctypes_add_traceback() into the
|
||||
core python API, so we could use it to add a frame here */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue