summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1998-07-23 15:57:34 (GMT)
committerBarry Warsaw <barry@python.org>1998-07-23 15:57:34 (GMT)
commit62a21a2ebe114e7d02253c81b2fdf930b1b5003a (patch)
tree031a8cce09ec9988d700f8148d3e4e07045414fc /Include/pyerrors.h
parentbe260101cb3537be622f5457233a537dfb5044e4 (diff)
downloadcpython-62a21a2ebe114e7d02253c81b2fdf930b1b5003a.zip
cpython-62a21a2ebe114e7d02253c81b2fdf930b1b5003a.tar.gz
cpython-62a21a2ebe114e7d02253c81b2fdf930b1b5003a.tar.bz2
New global variables: PyExc_EnvironmentError and PyExc_OSError
New function: PyErr_SetFromErrnoWithFilename(PyObject* char*)
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 3be7963..c34e250 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -62,7 +62,9 @@ extern DL_IMPORT(PyObject *) PyExc_AssertionError;
extern DL_IMPORT(PyObject *) PyExc_AttributeError;
extern DL_IMPORT(PyObject *) PyExc_EOFError;
extern DL_IMPORT(PyObject *) PyExc_FloatingPointError;
+extern DL_IMPORT(PyObject *) PyExc_EnvironmentError;
extern DL_IMPORT(PyObject *) PyExc_IOError;
+extern DL_IMPORT(PyObject *) PyExc_OSError;
extern DL_IMPORT(PyObject *) PyExc_ImportError;
extern DL_IMPORT(PyObject *) PyExc_IndexError;
extern DL_IMPORT(PyObject *) PyExc_KeyError;
@@ -86,6 +88,7 @@ extern DL_IMPORT(PyObject *) PyExc_MemoryErrorInst;
extern int PyErr_BadArgument Py_PROTO((void));
extern PyObject *PyErr_NoMemory Py_PROTO((void));
extern PyObject *PyErr_SetFromErrno Py_PROTO((PyObject *));
+extern PyObject *PyErr_SetFromErrnoWithFilename Py_PROTO((PyObject *, char *));
extern PyObject *PyErr_Format Py_PROTO((PyObject *, const char *, ...));
extern void PyErr_BadInternalCall Py_PROTO((void));