[Python-Dev] Exception masking/chaining

Michael Hudson mwh@python.net
Thu, 12 Jun 2003 18:57:04 +0100


"Phillip J. Eby" <pje@telecommunity.com> writes:

> At 01:37 PM 6/12/03 -0400, Guido van Rossum wrote:
>
>>The big problem is that it would require a major rewrite of the sys
>>module, wouldn't it?
>
> Under 2.2 this would be easy because you could just do 'sys.__class__
> = MyNewSysClass'.  Can you still do that in 2.3 as long as
> 'MyNewSysClass' is a non-heap type with a compatible layout?

No.

Cheers,
M.

-- 
  The gripping hand is really that there are morons everywhere, it's
  just that the Americon morons are funnier than average.
                              -- Pim van Riezen, alt.sysadmin.recovery