new style exception handleing

Nick Coghlan ncoghlan at iinet.net.au
Thu Feb 3 06:17:15 EST 2005


Ola Natvig wrote:
> Peter Hansen wrote:
>> I can't actually think of a reason to need to base an
>> exception on a new-style class, but perhaps you have a
>> good one...
> 
> It's quite simple to bypass the problem, it was more the reason I was 
> wondering about too.

Basically because fixing it without killing backward compatibility with string 
exceptions is hard :)

Doesn't mean people aren't trying though (Google the python-dev archives, as 
well as the python-list ones).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list