New submission from STINNER Victor <victor.stin...@haypocalc.com>: PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenameObject(int, const char *); has a strange prototype: "FilenameObject" usually indicates a PyObject* argument, not a char* argument. The function doesn't exist in Python/errors.c, but there is a PyErr_SetExcFromWindowsErrWithFilenameObject() function.
PyErr_SetFromWindowsErrWithFilenameObject() was introduced in pyerrors.h by r28999 (8 years ago), but I am unable to find any concrete implementation. Attached patch removes PyErr_SetFromWindowsErrWithFilenameObject() from pyerrors.h. ---------- components: Interpreter Core, Unicode files: pyerrors_h.patch keywords: easy, patch messages: 128536 nosy: haypo priority: normal severity: normal status: open title: PyErr_SetFromWindowsErrWithFilenameObject() doesn't exist: remove it from pyerrors.h versions: Python 3.3 Added file: http://bugs.python.org/file20759/pyerrors_h.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com