This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2011-02-14.10:15:20
SpamBayes Score 1.518741e-05
Marked as misclassified No
Message-id <1297678521.8.0.172330383513.issue11210@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-02-14 10:15:21vstinnersetrecipients: + vstinner
2011-02-14 10:15:21vstinnersetmessageid: <1297678521.8.0.172330383513.issue11210@psf.upfronthosting.co.za>
2011-02-14 10:15:20vstinnerlinkissue11210 messages
2011-02-14 10:15:20vstinnercreate