In message <gt47lc$kar$0...@news.t-online.com>, Peter Otten wrote: > gc.disable() > # create many small objects that you want to keep > gc.enable()
Every time I see something like this, I feel the urge to save the previous state and restore it afterwards: save_enabled = gc.isenabled() gc.disable() # create many small objects that you want to keep if save_enabled : gc.enable() #end if Maybe that's just me. :) -- http://mail.python.org/mailman/listinfo/python-list