[Patches] [ python-Patches-576458 ] Extend PyErr_SetFromWindowsErr

noreply@sourceforge.net noreply@sourceforge.net
Tue, 02 Jul 2002 09:02:18 -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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=576458&group_id=5470