[ZODB-Dev] ZODB _v_ attributes are tricky

Toby Dickenson tdickenson at geminidataloggers.com
Fri Apr 2 05:06:10 EST 2004


On Friday 02 April 2004 02:13, Shane Hathaway wrote:

> ZODB destroys volatile attributes only when
> unloading objects.  ZODB unloads objects after another connection
> changes them.  Also, the ZODB garbage collector unloads objects at the
> end of transactions.

The garbage collector can also be triggered explicitly by application code, 
and future improvements to the garbage collector might unload objects at 
other times too. In short, you should assume that _v_ variables might 
disappear at any time.

-- 
Toby Dickenson




More information about the ZODB-Dev mailing list