A RetroSearch Logo

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

Search Query:

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

[Python-Dev] Raising string exceptions

[Python-Dev] Raising string exceptions [Python-Dev] Raising string exceptionsChad Netzer cnetzer@mail.arc.nasa.gov
Wed, 8 Jan 2003 12:14:58 -0800
On Wednesday 08 January 2003 07:20, Guido van Rossum wrote:

> > > in ceval.c:2743 be changed to remove strings, since this is
> > > deprecated?

> Maybe change to "string (deprecated)" or change "must" to "should".

And move it after 'class' and 'instance' in the printout, to subtly
make it the last choice, not the first.

ie.

"exceptions must be classes or instances.\n(or strings, which are 
deprecated)."

or

"exceptions must be classes or instances. (strings are deprecated)."

or

"exceptions must be classes, instances, or (deprecated) strings."

-- 
Bay Area Python Interest Group - http://www.baypiggies.net/

Chad Netzer
cnetzer@mail.arc.nasa.gov



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