hunting dumb memory leaks in python