Deprecating string exceptions
March 27, 2002
4:57 p.m.
http://python.org/sf/518846 reports that new-style classes cannot be used as exceptions. I think it is desirable that this is fixed, but I also believe that it conflicts with string exceptions. So I would like to propose that string exceptions are deprecated for Python 2.3, in order to remove them in Python 2.4, simultaneously allowing arbitrary objects as exceptions. Regards, Martin
8633
Age (days ago)
8643
Last active (days ago)
79 comments
16 participants
participants (16)
-
barry@zope.com -
Fred L. Drake, Jr. -
Gordon McMillan -
Guido van Rossum -
Jeremy Hylton -
jeremy@zope.com -
Martin v. Loewis -
martin@v.loewis.de -
Neal Norwitz -
Patrick K. O'Brien -
Paul Prescod -
Samuele Pedroni -
Skip Montanaro -
Stephen J. Turnbull -
Tim Peters -
Walter Dörwald