[pypy-svn] r32334 - pypy/branch/kill-keepalives/pypy/rpython/lltypesystem
mwh at codespeak.net
mwh at codespeak.net
Thu Sep 14 19:43:58 CEST 2006
Author: mwh
Date: Thu Sep 14 19:43:57 2006
New Revision: 32334
Modified:
pypy/branch/kill-keepalives/pypy/rpython/lltypesystem/rdict.py
Log:
fix slip found in the traditional way -- targetpypystandalone.py :/
Modified: pypy/branch/kill-keepalives/pypy/rpython/lltypesystem/rdict.py
==============================================================================
--- pypy/branch/kill-keepalives/pypy/rpython/lltypesystem/rdict.py (original)
+++ pypy/branch/kill-keepalives/pypy/rpython/lltypesystem/rdict.py Thu Sep 14 19:43:57 2006
@@ -452,9 +452,9 @@
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(DICT.entries.OF.key.TO)
+ entry.key = lltype.nullptr(DICT.entries.TO.OF.key.TO)
if DICT.must_clear_value:
- entry.value = lltype.nullptr(DICT.entries.OF.value.TO)
+ entry.value = lltype.nullptr(DICT.entries.TO.OF.value.TO)
num_entries = len(d.entries)
if num_entries > DICT_INITSIZE and d.num_items < num_entries / 4:
ll_dict_resize(d)
More information about the Pypy-commit
mailing list