Design by Contract for Python
A. Lloyd Flanagan
alloydflanagan at attbi.com
Wed May 14 15:41:51 EDT 2003
Terence Way <terry at wayforward.net> wrote in message news:<mailman.1052896821.2209.python-list at python.org>...
> I'm interested in adding pre-conditions, post-conditions, invariant
> assertions into Python code... just like in Eiffel.
>
> I'm putting together an implementation, more details here:
> http://www.wayforward.net/pydbc/
>
This python cookbook recipe seems relevant:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81790
Hope it helps.
More information about the Python-list
mailing list