[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/ - replace nasty and ineffective hack for dynamic connections ids in ZSQL Method cache which is tested and works

2006-11-17 Thread Chris Withers
Log message for revision 71151: - replace nasty and ineffective hack for dynamic connections ids in ZSQL Method cache which is tested and works - simplify tests as a result - make sure full chain of DA.__call__ and DA._cached_result is execercised Changed: U

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/tests/test_caching.py more documentary tests:

2006-11-17 Thread Chris Withers
Log message for revision 71153: more documentary tests: - document 2 memory leaks, one in cache and one in tcache - test coverage for the patch Brian applied in Dec 2000 Changed: U Zope/branches/2.9/lib/python/Shared/DC/ZRDB/tests/test_caching.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py fixed logger calls

2006-11-17 Thread Andreas Jung
Log message for revision 71155: fixed logger calls Changed: U Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py -=- Modified: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/Connection.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/ - stop rounding to ints, making memory leaks much less likely

2006-11-17 Thread Chris Withers
Log message for revision 71158: - stop rounding to ints, making memory leaks much less likely - document the slim chances of remaining memory leaks - remove pointless import try/except, it always fails now - adjust tests to make sure we still generate pathalogical dict orderings Changed:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Shared/DC/ZRDB/ - use an ordered mapping so we dump the oldest stuff from the cache first

2006-11-17 Thread Chris Withers
Log message for revision 71161: - use an ordered mapping so we dump the oldest stuff from the cache first - remove the pointless check for cache time being enabled inside _cached_result - _cached_result isn't actually called if caching isn't enabled - slight code tidy in DA.py - lots of

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt change log for recent DA.py work.

2006-11-17 Thread Chris Withers
Log message for revision 71162: change log for recent DA.py work. Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2006-11-17 18:15:27 UTC

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Shared/DC/ZRDB/ merge of DA.py caching work from 2.9 branch:

2006-11-17 Thread Chris Withers
Log message for revision 71163: merge of DA.py caching work from 2.9 branch: - Reworking of _cached_result in Shared.DC.ZRDB.DA.DA: - fixed KeyError reported in Collector #2212 - fixed two memory leaks that occurred under high load - fixed broken

[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt change log for recent DA.py work

2006-11-17 Thread Chris Withers
Log message for revision 71164: change log for recent DA.py work Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2006-11-17 18:27:15

[Zope-Checkins] SVN: Zope/trunk/lib/python/Shared/DC/ZRDB/ merge of DA.py caching work from 2.9 branch:

2006-11-17 Thread Chris Withers
Log message for revision 71165: merge of DA.py caching work from 2.9 branch: - Reworking of _cached_result in Shared.DC.ZRDB.DA.DA: - fixed KeyError reported in Collector #2212 - fixed two memory leaks that occurred under high load - fixed broken

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the trav

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71167: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/branches/Zope-2_8-branch/lib/python/Products/ZCatalog/ZCatalog.py U

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71168: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py U

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal resul

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71169: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/branches/2.10/lib/python/Products/ZCatalog/ZCatalog.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/ revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None

2006-11-17 Thread Leonardo Rochael Almeida
Log message for revision 71170: revert ZCatalog.getobject() semantics not to mask traversal errors and not to fallback to .resolve_url() when the traversal result is None Changed: U Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py U