[Python-Dev] Raising string exceptions (original) (raw)
Neal Norwitz neal@metaslash.com
Tue, 7 Jan 2003 21:08:45 -0500
- Previous message: [Python-Dev] patch CGIHTTPServer.py for IE POST bug
- Next message: [Python-Dev] Raising string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Should the error message when raising an invalid exception:
"exceptions must be strings, classes or instances"
in ceval.c:2743 be changed to remove strings, since this is deprecated?
Also, should we add a PendingDeprecationWarning when raising a string exception? I suspect a DeprecationWarning is too much for 2.3.
Neal
- Previous message: [Python-Dev] patch CGIHTTPServer.py for IE POST bug
- Next message: [Python-Dev] Raising string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]