[Patches] killing off PyErr_BadArgument

Trent Mick trentm@activestate.com
Wed, 31 May 2000 13:26:26 -0700


On Wed, May 31, 2000 at 09:07:53PM +0100, Michael Hudson wrote:
> Prompted by jhylton on comp.lang.python, I've made a patch that I think
> removes all the PyErr_BadArguments from code (just in Objects/* for now)
> that you can reach by writing Python (I'm not sure about all the ones in
> Objects/unicodeobject.c, but I don't think you can get at them from
> Python-land).

+1 Anything to improve exception error messages. I haven't tested the patch
but its trivial.


> 
> There were only four.

There are a lot more in Modules/ and Python/


Trent
trentm@activestate.com