Design By Contract in Python 2.4

yaipa h. yaipa at yahoo.com
Mon Jan 6 03:07:00 EST 2003


Kevin,

You can always brew your own. See,
   http://aspn.activestate.com/ASPN/Cookbook/Python

Python Cookbook -- Using introspection to verify Eiffel 
like contracts (by Sébastien Keim) 
  This sample show how you can use intospection to create a 
  function wraper that verify Eiffel like ...

Python Cookbook -- eiffelmethod (by Andres Tuells) 
  An eiffel like method, with preconditions and 
  postconditions, in python2.2  

yaipa.h


"Kevin Ethridge" <kevinethridge at yahoo.com> wrote in message news:<pO6S9.113295$6H6.3803900 at twister.austin.rr.com>...
> Just kidding :)
> Does anybody know if there are any plans for 'Eiffel style' DBC in Python?
> 
> Kevin




More information about the Python-list mailing list