E&S CVS Commit: PEAK - Racks work! Yay!!! Added a set of Rack unit tests to create, retrieve,

pje at eby-sarna.com pje at eby-sarna.com
Thu Oct 31 21:11:00 EST 2002

Module Name:	PEAK
Committed By:	pje
Date:		Fri Nov  1 02:10:46 UTC 2002

Modified Files:
	PEAK/src/peak/storage: interfaces.py racks.py
	PEAK/src/peak/storage/tests: __init__.py

Log Message:
Racks work!  Yay!!!  Added a set of Rack unit tests to create, retrieve,
and modify persistent objects using a simple MiniTable-based rack.  A
couple of things in Rack had to be fixed up, mainly implementation details
for creation of ghost objects.  Also, Racks which want to clear object
states between transactions, needed to *join* the transaction whenever an
object's state is loaded, otherwise they could carry stale data into later
transactions.  Likewise, new objects need to be registered in order to
ensure that they will be saved, even if they are not modified from their
initial creation state.

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 PEAK/src/peak/storage/interfaces.py
cvs rdiff -r1.5 -r1.6 PEAK/src/peak/storage/racks.py
cvs rdiff -r1.2 -r1.3 PEAK/src/peak/storage/tests/__init__.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