Barry Warsaw 97d951533e PyErr_SetFromErrnoWithFilename(): New function which supports setting
an exception from errno, with a supplied filename (primarily used by
IOError and OSError).  If class exceptions are used then the exception
is instantiated with a 3-tuple: (errno, strerror, filename).  For
backwards compatibility reasons, if string exceptions are used,
filename is ignored.

PyErr_SetFromErrno(): Implement in terms of
PyErr_SetFromErrnoWithFilename().
1998-07-23 16:05:56 +00:00
..
1996-10-25 14:44:06 +00:00
1994-08-29 10:43:12 +00:00
1996-10-25 14:44:06 +00:00
1998-05-15 22:04:07 +00:00
1997-07-19 19:48:41 +00:00
1996-10-25 14:44:06 +00:00
1997-09-05 07:33:22 +00:00
1997-07-19 19:48:41 +00:00
1997-07-19 19:48:41 +00:00
1998-04-09 21:39:57 +00:00
1996-08-29 18:10:41 +00:00
1997-09-05 07:33:22 +00:00
1996-08-29 18:10:30 +00:00
1996-08-19 22:12:39 +00:00
1997-11-22 21:53:48 +00:00
1997-11-22 21:53:48 +00:00