[pypy-svn] r36485 - pypy/dist/pypy/objspace/std

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Jan 11 15:09:04 CET 2007


Author: cfbolz
Date: Thu Jan 11 15:09:04 2007
New Revision: 36485

Modified:
   pypy/dist/pypy/objspace/std/model.py
Log:
(mwh, cfbolz) as a safety measure, remove the normal dict classes from
typeorder when using multidict.


Modified: pypy/dist/pypy/objspace/std/model.py
==============================================================================
--- pypy/dist/pypy/objspace/std/model.py	(original)
+++ pypy/dist/pypy/objspace/std/model.py	Thu Jan 11 15:09:04 2007
@@ -122,7 +122,8 @@
                     else:
                         imported_but_not_registered[implcls] = True
 
-        if config.objspace.std.withstrdict:
+        if (config.objspace.std.withstrdict or
+            config.objspace.std.withmultidict):
             del self.typeorder[dictobject.W_DictObject]
             del self.typeorder[dictobject.W_DictIterObject]
 



More information about the Pypy-commit mailing list