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/021824.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 23:33:37 -0500
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

    >> Is there any controversy that string exceptions should,
    >> eventually, be deprecated?  If not, then let's come up with a
    >> road map for deprecating them, even if their use doesn't raise
    >> a deprecation warning in Python 2.3.

    GvR> Good point.  I do want to start deprecating them, but slowly
    GvR> because they're used so much.  Maybe you can draft a brief
    GvR> PEP?

Will do.  I'd like to cover the following:

- roadmap for deprecating string exceptions (i.e. when will we issue
  DeprecationWarnings, when will they become illegal).

- roadmap for requiring exceptions to inherit from Exception (or
  discussion on whether this is still a goal).

- impact of the transition to new-style classes everywhere on the
  exception rules.

That might be too broad or too narrow -- I'm up for suggestions!
-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