Message128536
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. |
|
Date |
User |
Action |
Args |
2011-02-14 10:15:21 | vstinner | set | recipients:
+ vstinner |
2011-02-14 10:15:21 | vstinner | set | messageid: <1297678521.8.0.172330383513.issue11210@psf.upfronthosting.co.za> |
2011-02-14 10:15:20 | vstinner | link | issue11210 messages |
2011-02-14 10:15:20 | vstinner | create | |
|