[Python-Dev] Deprecating string exceptions
Skip Montanaro
skip@pobox.com
Wed, 27 Mar 2002 15:09:03 -0600
GvR> I think string exceptions are used enough that we should deprecate
GvR> them on a slower schedule.
BAW> Is there any controversy that string exceptions should, eventually,
BAW> be deprecated?
Taking a quick peek at my own code, the only place I see that strings are
raised is in code that works with ZServer (e.g. "raise 'redirect'"). I was
not speedy to get rid of string exceptions in my own code, but except for
external compatibility, I think they are all gone now. Does Zope (clearly
the 800-pound gorilla in most backward compatibility discussions) still use
them heavily?
Skip