> My design decision was to make Exception new-style. Things can be > raised if they are instances of old-style classes or instances of > Exception. If this meets with general agreement, I'd like to check > the above patch in.
I like it, but didn't you forget to mention that strings can still be raised? I think we can't break that (but we can insert a deprecation warning for this in 2.5 so we can hopefully deprecate it in 2.6, or 2.7 at the latest). > The patch also updates the PendingDeprecationWarning on raising a > string exception to a full DeprecationWarning (something that should > be done anyway). What I said. :-) -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com