[Python-Dev] testing question

Guido van Rossum guido@python.org
Wed, 27 Nov 2002 09:55:36 -0500

> There's a buglet in my assignable __bases__ code that can (in pretty
> obscure situations) lead to Python code getting executed with an
> exception pending.  I have a fix, but I'd like a test -- can anyone
> think of a way of testing for this?

I was going to suggest a __del__ method, except that doesn't work --
the code that calls __del__ is very careful to save and restore
exceptions around the call.

I think you're talking about the code near the end of
type_set_bases().  I still don't understand why you can'y just bail

--Guido van Rossum (home page: http://www.python.org/~guido/)