
March 27, 2002
2:15 p.m.
Guido van Rossum <guido@python.org> writes:
Can we safely make Exception (and hence all built-in exceptions) a new-style class? This could break user code (even when we don't enforce that exceptions are derived from Exception).
I see no need to make such a change, with this change alone, I can't see risks for breaking code, either. If you would also make Exception.args a slot, there would be a rationale (efficiency), but you would also more likely break user code. Regards, Martin