[Python-Dev] C implementation of exceptions module

Barry A. Warsaw bwarsaw@python.org
Fri, 26 May 2000 18:42:10 -0400 (EDT)


Hi all,

I've taken /F's C implementation of the standard class-based
exceptions, implemented the stuff he left out, proofread for reference
counting issues, hacked a bit more, and integrated it with the 1.6
interpreter.  Everything seems to work well; i.e. the regression test
suite passes and I don't get any core dumps ;).

I don't have the ability right now to Purify things[1], but I've tried
to be very careful in handling reference counting.  Since I've been
hacking on this all day, it could definitely use another set of eyes.
I think rather than email a huge patch kit, I'll just go ahead and
check the changes in.  Please take a look and give it a hard twist.

Thanks to /F for the excellent head start!
-Barry

[1] Purify was one of the coolest products on Solaris, but alas it
doesn't seem like they'll ever support Linux.  What do you all use to
do similar memory verification tests on Linux?  Or do you just not?