Sept. 18, 2007
7:18 a.m.
I'm happy to announce that MetaContract 0.2 is now available for download from: http://sourceforge.net/projects/metacontract/ 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.
6342
Age (days ago)
6342
Last active (days ago)
0 comments
1 participants
participants (1)
-
Olivier Ravard