[Erp5-dev] Problem while logging into unit test
    Pelletier Vincent 
    vincent at nexedi.com
       
    Mon Nov  5 17:48:51 CET 2007
    
    
  
Le Lundi 5 Novembre 2007 16:12, Jérome Perrin a écrit :
> Łukasz Nowak a écrit :
> > "/usr/lib/zope/lib/python/Products/CMFCore/FSPythonScript.py", line
> Unfortunatly this currently breaks FSPythonScripts.
BTW, this code looks quite bad, because it reads volatile values. Under heavy 
memory load - compared to connection's object cache size - volatile tends to 
disapear at any time, including inside the scope of a python function. This 
causes statements like
  self._v_foo = 1
  print self._v_foo
to fail with AttributeError - if unlucky enough.
Just to keep everybody aware about that bad problems that bites you at the 
worse possible time if intensive testing is not done.
-- 
Vincent Pelletier
    
    
More information about the Erp5-dev
mailing list