[Patches] [Patch #101214] Improve exception message for PyErr_BadInternalCall()

noreply@sourceforge.net noreply@sourceforge.net
Thu, 17 Aug 2000 20:25:05 -0700


Patch #101214 has been updated. 

Project: 
Category: core (C code)
Status: Open
Summary: Improve exception message for PyErr_BadInternalCall()

Follow-Ups:

Date: 2000-Aug-17 23:25
By: fdrake

Comment:
This patch uses a macro wrapper to provide the filename and line number of the call to PyErr_BadInternalCall().  This should be reasonable since the __FILE__ and __LINE__ macros are ANSI C (I think).  There are 77 call sites for PyErr_BadInternalCall(), and this would make it a lot easier to get an initial foothold on errors generated through this function.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101214&group_id=5470