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/2002-April/022434.html below:

[Python-Dev] Deprecating string exceptions

[Python-Dev] Deprecating string exceptions [Python-Dev] Deprecating string exceptionsBarry A. Warsaw barry@zope.com
Fri, 5 Apr 2002 21:35:18 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> There was some discussion that concluded that it was a useful
    GvR> feature (e.g. because the Exception class defines a standard
    GvR> signature and some standard attributes)

But most of the (early) built-in exception interfaces were chosen for
backwards compatibility with the old string-based standard exceptions,
so I'm not sure how useful they are as a specification.
E.g. Exception.__init__() essentially takes a *args and assigns the
tuple to exc.args, and that's about it.  Maybe in a perfect world
that's still a useful signature, I don't know.

-Barry




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