[pypy-svn] r68236 - pypy/branch/gc-compress/pypy/rpython/lltypesystem

arigo at codespeak.net arigo at codespeak.net
Wed Oct 7 16:31:25 CEST 2009


Author: arigo
Date: Wed Oct  7 16:31:25 2009
New Revision: 68236

Modified:
   pypy/branch/gc-compress/pypy/rpython/lltypesystem/llgroup.py
Log:
Oups.  It seems to make more sense that way.


Modified: pypy/branch/gc-compress/pypy/rpython/lltypesystem/llgroup.py
==============================================================================
--- pypy/branch/gc-compress/pypy/rpython/lltypesystem/llgroup.py	(original)
+++ pypy/branch/gc-compress/pypy/rpython/lltypesystem/llgroup.py	Wed Oct  7 16:31:25 2009
@@ -33,7 +33,7 @@
 def member_of_group(structptr):
     return _membership.get(structptr._as_obj(), None)
 
-_membership = weakref.WeakKeyDictionary()
+_membership = weakref.WeakValueDictionary()
 
 
 class GroupMemberOffset(llmemory.Symbolic):



More information about the Pypy-commit mailing list