[Python-Dev] Deprecating string exceptions

Samuele Pedroni pedroni@inf.ethz.ch
Wed, 27 Mar 2002 20:29:23 +0100


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).

For issues related to needing vs not-needing to dynamically
create Java classes and corresponding security restrictions,
it would be user-friendlier if Exception on Jython side 
would remain a classic-style class.
We can give more input when we have sorted
out the implementation  of new-style classes subclassing
(that's many month away :( ). Maybe the issues
will become non-issues or not. 

regards.