MetaContract 0.2

Olivier Ravard olivier.ravard at
Tue Sep 18 16:18:52 CEST 2007

I'm happy to announce that MetaContract 0.2 is now available for download

what is metacontract ?

Design by Contract allows a programmer to document a function/class with statements
describing behavior. Metacontract implements the PEP-0316 related to this feature
for the Python language using meta classes.

Major changes
- improve doc string parsing
	* ignore the whitespace at the start of the line and around the colon
	* take account a single expression if followed the colon
	* take account line continuation like the standard Python rule.
- add functions forall, exists, implies
- add a function classmaker for metaclass conflicts.

More information about the Python-announce-list mailing list