[Zope-dev] _p_deactivate() and _v_ variables?

Chris Withers chrisw at nipltd.com
Fri Sep 26 04:32:35 EDT 2003


Toby Dickenson wrote:
> On Thursday 25 September 2003 11:51, Chris Withers wrote:
> 
>>Hmmm, does _p_deactivate() clear the contents of the object's _v_
>>variables?
> 
> Yes

Then given your earlier comment that _v_ variables are supposed to last at least 
teh length of the request, John's idea of using _p_deactivate() to reduce memory 
usage for large ZCatalog results sets could be seen as playing with fire, right?

Chris




More information about the Zope-Dev mailing list