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/021825.html below:

R: [Python-Dev] Deprecating string exceptions

R: [Python-Dev] Deprecating string exceptions R: [Python-Dev] Deprecating string exceptionsBarry A. Warsaw barry@zope.com
Wed, 27 Mar 2002 23:35:06 -0500
>>>>> "MvL" == Martin v Loewis <martin@v.loewis.de> writes:

    MvL> Also, I believe that using your class Z as an exception class
    MvL> should not be supported: a "proper" exception should not just
    MvL> merely inherit from Exception - it should have Exception as
    MvL> its only root class (Z has both object and Exception as root
    MvL> classes).

Can you explain why you think the rule should be so strict?  I don't
see a problem with using multiple inheritance to satisfy the "must
derive" rule.

-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