[ZODB-Dev] Odd output from checkbtrees.py

Dieter Maurer dieter at handshake.de
Thu Aug 28 20:19:07 EDT 2003


Paul Winkler wrote at 2003-8-27 18:33 -0400:
 > On Wed, Aug 27, 2003 at 11:39:18AM -0400, Shane Hathaway wrote:
 > > DCWorkflow doesn't use BTrees.  My guess is that checkbtrees is actually 
 > > traversing a single object many times, making it a bug in checkbtrees.
 > 
 > Correct. And in fact, there were 2 issues to deal with:
 > 1) obj.__dict__.items() sometimes picks things up
 > through acquisition, as demonstrated by the problem with DCWorkflow
 > transitions (and states, BTW).

I do not want to believe this.

It is impossible unless someone defined "__dict__= Acquired".
And this is only possible with special classes implemented in C.



Dieter



More information about the ZODB-Dev mailing list