[issue45434] [C API] Clean-up the Python.h header file

STINNER Victor report at bugs.python.org
Wed Oct 13 11:24:19 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

PyRun_InteractiveOneObjectEx() returns a single error code of errcode.h: E_EOF (11):

    if (mod == NULL) {
        _PyArena_Free(arena);
        if (errcode == E_EOF) {
            PyErr_Clear();
            return E_EOF;
        }
        return -1;
    }

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45434>
_______________________________________


More information about the Python-bugs-list mailing list