• Victor Stinner's avatar
    Issue #28858: Remove _PyObject_CallArg1() macro · 7bfb42d5
    Victor Stinner yazdı
    Replace
       _PyObject_CallArg1(func, arg)
    with
       PyObject_CallFunctionObjArgs(func, arg, NULL)
    
    Using the _PyObject_CallArg1() macro increases the usage of the C stack, which
    was unexpected and unwanted. PyObject_CallFunctionObjArgs() doesn't have this
    issue.
    7bfb42d5
codecs.c 44.9 KB