E&S CVS Commit: pylib - Further refinements to Once/OnceClass. Moved TransactionalCache to

pje at eby-sarna.com pje at eby-sarna.com
Tue Feb 26 17:51:00 EST 2002


Module Name:	pylib
Committed By:	pje
Date:		Tue Feb 26 22:50:53 UTC 2002

Modified Files:
	pylib/TW: Caching.py
	pylib/TW/API: Misc.py
	pylib/TW/Database: DataModel.py Transactions.py
	pylib/TW/Database/tests: DataModel.py

Log Message:
Further refinements to Once/OnceClass.  Moved TransactionalCache to
Database.Transactions module, and added TransactionNotifier, now shared
by TransactionManager and TransactionalCache.  Refactoring in DataModel
and TransactionManager to take advantage of Once attributes.  I still need
to get Records to do version checking, and I think that queueForUpdate()
and friends probably needs refactoring to use Once as well.  Proper use of
'bindTo()' in DataModel should also make version checking easy, by watching
'TransactionManager.writeCounter'.  The invalidation machinery needs to be
checked over a bit, too.


To view diffs of this commit, you can use the following URL(s):
http://cvs.eby-sarna.com/pylib/TW/Caching.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/pylib/TW/API/Misc.py.diff?r1=1.2&r2=1.3
http://cvs.eby-sarna.com/pylib/TW/Database/DataModel.py.diff?r1=1.15&r2=1.16
http://cvs.eby-sarna.com/pylib/TW/Database/Transactions.py.diff?r1=1.1&r2=1.2
http://cvs.eby-sarna.com/pylib/TW/Database/tests/DataModel.py.diff?r1=1.1&r2=1.2

To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pylib/TW/Caching.py
cvs rdiff -r1.2 -r1.3 pylib/TW/API/Misc.py
cvs rdiff -r1.15 -r1.16 pylib/TW/Database/DataModel.py
cvs rdiff -r1.1 -r1.2 pylib/TW/Database/Transactions.py
cvs rdiff -r1.1 -r1.2 pylib/TW/Database/tests/DataModel.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