Author: Maciej Fijalkowski <[email protected]>
Branch: inline-dict-ops
Changeset: r45938:99e88cd8c32c
Date: 2011-07-24 16:02 +0200
http://bitbucket.org/pypy/pypy/changeset/99e88cd8c32c/

Log:    kill the old nonsense

diff --git a/pypy/rpython/lltypesystem/rdict.py 
b/pypy/rpython/lltypesystem/rdict.py
--- a/pypy/rpython/lltypesystem/rdict.py
+++ b/pypy/rpython/lltypesystem/rdict.py
@@ -497,11 +497,6 @@
     ENTRY = ENTRIES.OF
     entry = d.entries[i]
     if ENTRIES.must_clear_key:
-        key = entry.key   # careful about destructor side effects:
-                          # keep key alive until entry.value has also
-                          # been zeroed (if it must be)
-        # XXX is this *actually* keeping stuff alive without
-        #     keepalive_until_here?
         entry.key = lltype.nullptr(ENTRY.key.TO)
     if ENTRIES.must_clear_value:
         entry.value = lltype.nullptr(ENTRY.value.TO)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to