def __init__(self,id=None): Persistent.__init__(self) self.id = id self.events = {} self.time = 0L self.nextEventId=1 self.stopped = False self.debug = False
def __init__(self, id=None): Persistent.__init__(self) self.id = id self.events = {} self.time = 0L self.nextEventId = 1 self.stopped = False self.debug = False
#!/usr/bin/env python from persist import P, Persistent import time if __name__ == "__main__": for i in xrange(3000000): o = Persistent() o.id = i p = P(o) print len(P.instances) time.sleep(10000)
def __init__(self,id=None): Persistent.__init__(self,id)