[Python-Dev] Exceptions *must*? be old-style classes?

"Martin v. Löwis" martin at v.loewis.de
Sun Jan 16 10:28:51 CET 2005


Phillip J. Eby wrote:
> Couldn't we require new-style exceptions to inherit from Exception?  
> Since there are no new-style exceptions that work now, this can't break 
> existing code.

This would require to make Exception a new-style class, right?
This, in itself, could break existing code.

Regards,
Martin


More information about the Python-Dev mailing list