On Wednesday 25 Sep 2002 2:53 pm, Paul Winkler wrote:
If they're still around, is there any way to find and get rid of them?
It depends on the storage
Now for the question: the old stupid_object was folderish and contained a lot of subobjects. What happens to these objects? Are they still floating around in my ZODB since I never did any kind of proper _delObject() on their container? I just did del() on it, and I don't know if that takes care of removing sub-objects from the ZODB (seems doubtful).
If this is FileStorage, then you have committed a couple of transactions that modified the top level object. Unless you have packed, the old objects are still intact. The best option would be to undo your manual transactions, and get back to your original state. If this is something like bsddbStorage.packless, then the old objects are likely to have been garbage collected.