ANN: Design By Contract for Python 1.0 beta 1

Erik Max Francis max at alcyone.com
Mon May 26 21:22:42 EDT 2003


Terence Way wrote:

> Also ContractViolationError will
> inherit from AssertionError.

Shouldn't they all, then?  Seems to me that they're all effectively
assertions of one type or another.  If one literally derives from
AssertionError, it seems to me they all should.

-- 
   Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
 __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/  \ Love has no heart.
\__/  Ned Rorem




More information about the Python-list mailing list