[Python-Dev] Exception masking/chaining

Guido van Rossum guido@python.org
Thu, 12 Jun 2003 14:27:48 -0400


> >OK, so it worked.  It doesn't work in 2.3.  But something else might
> >work.
> 
> My question was whether it would work with a *C* subclass of 
> ModuleType.  In which case, presumably C code could set the type after 
> initializing the sys module.

Right, this could work (even though in 2.3, the module type is no
longer subclassable).

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