def executeFirst(self,argsin):
""" Same than first part of self.execute to reduce memory peak."""
+ import time
try:
_,kws=pickle.loads(argsin)
self.context.update(kws)
- exec(self.ccode, self.context)
except:
exc_typ,exc_val,exc_fr=sys.exc_info()
l=traceback.format_exception(exc_typ,exc_val,exc_fr)
def executeSecond(self,outargsname):
""" Same than second part of self.execute to reduce memory peak."""
try:
+ exec(self.ccode, self.context)
argsout=[]
for arg in outargsname:
if arg not in self.context: