R: [Python-Dev] Deprecating string exceptions (original) (raw)
Barry A. Warsaw barry@zope.com
Wed, 27 Mar 2002 23:35:06 -0500
- Previous message: R: [Python-Dev] Deprecating string exceptions
- Next message: R: [Python-Dev] Deprecating string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message: R: [Python-Dev] Deprecating string exceptions
- Next message: R: [Python-Dev] Deprecating string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]