Author: Alex Gaynor <[email protected]>
Branch: detect-immutable-fields
Changeset: r68888:0f2c24d693c5
Date: 2014-01-23 15:47 -0600
http://bitbucket.org/pypy/pypy/changeset/0f2c24d693c5/
Log: Clear this too
diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -343,6 +343,8 @@
self.attrs[i] = None
for i in range(len(self.selectors)):
self.selectors[i] = self._empty_selector
+ for i in range(len(self.indices)):
+ self.indices[i] = None
# ____________________________________________________________
# object implementation
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit