[Python-Dev] Deprecating string exceptions
Barry A. Warsaw
barry@zope.com
Wed, 27 Mar 2002 14:15:42 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:
GvR> Can we safely make Exception (and hence all built-in
GvR> exceptions) a new-style class? This could break user code
GvR> (even when we don't enforce that exceptions are derived from
GvR> Exception).
What's the advantage of making Exception a new-style class? Isn't
that a separate issue from whether 1) we deprecate string exceptions,
2) whether we enforce exceptions to inherit from Exception?
-Barry