Design by Contract with Python?

Andrew Kuchling akuchlin at mems-exchange.org
Fri May 18 12:39:10 EDT 2001


"Franz GEIGER" <fgeiger at datec.at> writes:
> Are such things possible in Python too? Or is the possibility of execution
> of code blocks necessary for that? Or any other restrictions?

See Demo/metaclasses/Eiffel.py.  I'm pretty sure it was there in 1.5.2.

--amk



More information about the Python-list mailing list