]> granicus.if.org Git - python/commit
Clean up circular references in the Weak*Dictionary classes; this avoids
authorFred Drake <fdrake@acm.org>
Fri, 28 Sep 2001 19:01:26 +0000 (19:01 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 28 Sep 2001 19:01:26 +0000 (19:01 +0000)
commit746fe0fae5442403c64be34b87609601166e97c8
treed7769dc796a9e9520df00a4c477c5432e67a45cb
parent43b9a086bf6b01c2746e2d0289e92c508fcfa72e
Clean up circular references in the Weak*Dictionary classes; this avoids
depending on the cycle detector code in the library implementation.
This is a *slightly* different patch than SF patch #417795, but takes
the same approach.  (This version avoids calling the __len__() method of
the dict in the remove() functions.)
This closes SF patch #417795.
Lib/weakref.py