R: [Python-Dev] Deprecating string exceptions (original) (raw)
Guido van Rossum guido@python.org
Wed, 27 Mar 2002 20:10:05 -0500
- Previous message: R: [Python-Dev] Deprecating string exceptions
- Next message: R: [Python-Dev] Deprecating string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Also, I believe that using your class Z as an exception class should not be supported: a "proper" exception should not just merely inherit from Exception - it should have Exception as its only root class (Z has both object and Exception as root classes).
I think that rule is too strong, and I don't see a reason for it.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: R: [Python-Dev] Deprecating string exceptions
- Next message: R: [Python-Dev] Deprecating string exceptions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]