[Python-Dev] Deprecating string exceptions

Barry A. Warsaw barry@zope.com
2002年3月27日 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

AltStyle によって変換されたページ (->オリジナル) /