A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/031907.html below:

[Python-Dev] Raising string exceptions

[Python-Dev] Raising string exceptions [Python-Dev] Raising string exceptionsNeal Norwitz neal@metaslash.com
Tue, 7 Jan 2003 21:08:45 -0500
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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4