> I'd suggest that "pop" could be your culprit. ...What is pop? A function or an instance method? Neither. pop is an instance of a class, like: class X: ... pop = X () pop surely is the culprit but it has arrays of objects, etc., and I don't know what to look for.