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/2002-March/021802.html below:

[Python-Dev] Deprecating string exceptions

[Python-Dev] Deprecating string exceptions [Python-Dev] Deprecating string exceptionsBarry A. Warsaw barry@zope.com
Wed, 27 Mar 2002 14:15:42 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    GvR> Can we safely make Exception (and hence all built-in
    GvR> exceptions) a new-style class?  This could break user code
    GvR> (even when we don't enforce that exceptions are derived from
    GvR> Exception).

What's the advantage of making Exception a new-style class?  Isn't
that a separate issue from whether 1) we deprecate string exceptions,
2) whether we enforce exceptions to inherit from Exception?

-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