any chance for contracts and invariants in Python?

mrkafk at gmail.com mrkafk at gmail.com
Thu Feb 14 12:42:26 CET 2013


This PEP seems to be gathering dust:

http://www.python.org/dev/peps/pep-0316/

I was thinking the other day, would contracts and invariants not be better than unit tests? That is, they could do what unit tests do and more, bc they run at execution time and not just at development time?




More information about the Python-list mailing list