[Patches] [ python-Patches-576458 ] Extend PyErr_SetFromWindowsErr
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 28 Jul 2002 09:42:09 -0700
Patches item #576458, was opened at 2002-07-02 18:02
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=576458&group_id=5470
Category: Core (C code)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Nobody/Anonymous (nobody)
Summary: Extend PyErr_SetFromWindowsErr
Initial Comment:
PyErr_SetFromWindowsErr and
PyErr_SetFromWindowsErrWithFilename can only raise
PyExc_WindowsError. This patch introduces variants of
these functions taking an additional PyObject*
parameter, which allows to specify the type of the
exception to raise.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-07-28 18:42
Message:
Logged In: YES
user_id=21627
The patch looks good, please apply it, with the following
changes:
- add \versionadded marks into the documentation;
- add an entry to Misc/NEWS.
----------------------------------------------------------------------
Comment By: Thomas Heller (theller)
Date: 2002-07-05 08:57
Message:
Logged In: YES
user_id=11105
Sure. Patch uploaded: docpatch.diff
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-07-05 07:47
Message:
Logged In: YES
user_id=21627
If this is meant to be used by extension modules, it should
be documented.
----------------------------------------------------------------------
Comment By: Thomas Heller (theller)
Date: 2002-07-02 18:13
Message:
Logged In: YES
user_id=11105
Patch for the header file was missing...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=576458&group_id=5470