[Grok-dev] Dolmen and its releases

Martin Aspeli optilude+lists at gmail.com
Thu Oct 22 11:04:25 EDT 2009


Souheil CHELFOUH wrote:

> Have a look at the code itself
> http://gitweb.dolmen-project.org/dolmen.file.git/blob/adf9207a69037e770838b35ed381ba942f6efdbf:/src/dolmen/file/property.py

Ah, so it's like acquisition: set a __parent__ pointer on get.

Note that this means you're effectively doing a ZODB write one very 
read, which is possibly bad for conflict errors and the like (unless 
there's some non-persistence magic in __parent__?)

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book



More information about the Grok-dev mailing list