E&S CVS Commit: PEAK - Fixed 'HashAndCompare' mixin to determine truth/falsehood based on the

pje at eby-sarna.com pje at eby-sarna.com
Fri Feb 14 19:18:00 EST 2003


Module Name:	PEAK
Committed By:	pje
Date:		Sat Feb 15 00:17:02 UTC 2003

Modified Files:
	PEAK/src/peak/model: structural.py

Log Message:
Fixed 'HashAndCompare' mixin to determine truth/falsehood based on the
'_hashAndCompare' attribute.  This ensures that 'Enumeration' instances
will be true if their value is true, and false if their value is false.
Previously, 'Enumeration' instances were always true, which meant that
'datatypes.Boolean' wasn't as useful as it should've been.  :)


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/PEAK/src/peak/model/structural.py.diff?r1=1.21&r2=1.22

To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 PEAK/src/peak/model/structural.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




More information about the source-changes mailing list