[Zope-dev] Will restrictedTraverse() load every obj into memory?

2003-09-17 Thread zhimin
Hello, I have a function that returns the object when given a path. def path2Object(path): obj = context,restrictedTraverse(path) return obj My concern is whether restrictedTraverse(path) will load into memory every object it traverses through and thus increase memory usage, especially

Re: [Zope-dev] Will restrictedTraverse() load every obj into memory?

2003-09-17 Thread Andy McKay
Yes, thats what the catalog is for. [EMAIL PROTECTED] wrote: Hello, I have a function that returns the object when given a path. def path2Object(path): obj = context,restrictedTraverse(path) return obj My concern is whether restrictedTraverse(path) will load into memory every object it