"Terry Reedy" <tjreedy at udel.edu> writes: > Can this alternative be made easier by adding a context manager to gc > module to use with 'with' statements? Something like > > with gc.delay() as dummy: > <block> That sonuds worth adding as a hack, but really I hope there can be an improved gc someday.