Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r45939:d0b8d070eeec
Date: 2011-07-24 16:03 +0200
http://bitbucket.org/pypy/pypy/changeset/d0b8d070eeec/
Log: fix the nonsense on trunk as well
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
@@ -501,9 +501,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)
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