[pypy-issue] [issue1290] Port API for error handling under Windows
Sergey Kozyr
tracker at bugs.pypy.org
Mon Oct 15 21:37:11 CEST 2012
New submission from Sergey Kozyr <s.trump at gmail.com>:
CPython has a number of functions to raise exceptions after Windows API error
ocures. See pyerrors.h:
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilenameObject(int, const
char *);
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithFilename(int, const char *);
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErrWithUnicodeFilename(int, const
Py_UNICODE *);
PyAPI_FUNC(PyObject *) PyErr_SetFromWindowsErr(int);
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilenameObject(PyObject
*,int, PyObject *);
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithFilename(PyObject *,int,
const char *);
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErrWithUnicodeFilename(PyObject
*,int, const Py_UNICODE *);
PyAPI_FUNC(PyObject *) PyErr_SetExcFromWindowsErr(PyObject *, int);
These functions are needed to build Mercurial under Windows.
----------
messages: 4850
nosy: pypy-issue, skozyr
priority: bug
status: unread
title: Port API for error handling under Windows
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1290>
________________________________________
More information about the pypy-issue
mailing list