Re: [Zope-dev] _v_ variables and cache garbage collection

2003-10-30 Thread Dieter Maurer
Chris Withers wrote at 2003-10-29 22:03 +: > Dieter Maurer wrote: > > What in the ZODB cache or other ZODB code could be causing _v_ variables to > > > stick around after they've been set to None in their containing objects? > > > > Nothing. > > > > When you assign "None" to the "_v

Re: [Zope-dev] _v_ variables and cache garbage collection

2003-10-29 Thread Chris Withers
Dieter Maurer wrote: > What in the ZODB cache or other ZODB code could be causing _v_ variables to > stick around after they've been set to None in their containing objects? Nothing. When you assign "None" to the "_v_variable", then this reference will go away. There may be others, which you di

Re: [Zope-dev] _v_ variables and cache garbage collection

2003-10-26 Thread Dieter Maurer
Chris Withers wrote at 2003-10-23 18:52 +0100: > ... > This is slightly OT but reminded me of something important I need to ask. > > ZOracleDA stores its database connections in a _v_ variable on the DA object. > It tries to delete this by setting the _v_ variable to None. > > However, a n

Re: [Zope-dev] _v_ variables

2001-01-11 Thread Martijn Pieters
On Thu, Jan 11, 2001 at 10:26:18AM +, Chris Withers wrote: > Martijn Pieters wrote: > > > > But because _v_* variables don't get pickled, another thread will never > > see them. > > Hmm, is there any situation where a single request can be handled by > more than one thread? Nope. -- Mart