[ZODB-Dev] ZODB 3.9.0 released

Chris Withers chris at simplistix.co.uk
Wed Sep 9 05:42:45 EDT 2009


Jim Fulton wrote:
>> There are some typos in this list:
>>
>> - should probably be `with` when describing the with statement
> 
> I don't know what you mean.

Databases have a new method, transaction, that can be used with the 
Python (2.5 and later) with statement:

->

Databases have a new method, transaction, that can be used with the 
Python (2.5 and later) `with` statement:


>> Questions:
>>
>> - when using `with` blocks and a ConflictError is raised, what happens?
> 
> The transaction is aborted.

That might be surprising for old-time Zope users... Still, I assume the 
ConflictError propagates through so they'll see it raised, right?

>> - if using cache-size-bytes, is the parameter that limits the number of
>> objects by number ignored?
> 
> No.

Is there any way to get this to happen?
Would seeing the number limit extremely high have the right effect?

>> - where can I find out more about invalidation-age?

http://svn.zope.org/ZODB/trunk/src/CHANGES.txt?rev=103676&r1=103674&r2=103676

There's a "that" missing from the first of the new lines ;-)

> src/ZEO/tests/invalidation-age.txt

Ah cool, now I get it :-)

typo: verificatioin -> verification

I take it this is irrelevant if you're not using persistent client 
caches? Are those safe to use now? [1]

cheers,

Chris

[1]

http://www.mail-archive.com/zodb-dev@zope.org/msg03349.html
http://www.mail-archive.com/zodb-dev@zope.org/msg01377.html

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list