[Zope-dev] To the brave folks trying Zope HEAD...

Paul Winkler pw_lists at slinkp.com
Fri Dec 12 18:34:32 EST 2003


On Thu, Dec 11, 2003 at 11:03:35PM -0500, Jim Fulton wrote:
> 3. The hard part is walking the object tree.  You will need a function that,
>    given an object, will return the oids of the objects it references.
>    Perhaps Jeremy can help you with that.

Perhaps some of the zodb utilities contain code that might be
useful as a starting point?
fsrefs.py, checkbtrees.py... 

> 5. You will want to keep a dictionary of the oids visited, just in case 
> there are
>    any cyles.

I believe the version of checkbtrees.py in cvs now does that.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's PENGUIN FINALE!
(random hero from isometric.spaceninja.com)



More information about the Zope-Dev mailing list