[Python-Dev] Raising string exceptions (original) (raw)
Martin v. L�wis martin@v.loewis.de
08 Jan 2003 10:26:13 +0100
- Previous message: [Python-Dev] Raising string exceptions
- Next message: [Python-Dev] Raising string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neal Norwitz <neal@metaslash.com> writes:
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?
+1.
Also, should we add a PendingDeprecationWarning when raising a string exception?
-0. I think making it a nearly undocumented feature is enough for the coming years.
Regards, Martin
- Previous message: [Python-Dev] Raising string exceptions
- Next message: [Python-Dev] Raising string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]