stw <sil...@googlemail.com> added the comment: > Probably because memoization itself uses a dict.
Right, but as far as I can tell it's not the memo dict that keeps being tracked/untracked. Rather, it's the dict that is being unpickled. Anyway, I suppose the point is that the issue of whether an object is tracked/untracked is not solely determined by its type: 1. All containers are tracked by default. 2. Tuples can only become untracked after a generation 0 gc pass. 3. With the new patch, dicts can only become untracked after a generation 2 gc pass. 4. Also, am I right in thinking that whether a container gets untracked or not depends not only on its contents, but also on the order of the objects in the gc list? That is, all of the contents of a container must get untracked before the container is considered. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14775> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com