Commits

Armin Rigo committed 3d6e002

Use default=False, and enable it only in -O2/O3/Ojit, like the
other optimizations. Fixes an issue if weakrefs are disabled.
(transplanted from 5eb3fc96c89290e270737f0652388f29154d3b2c)

Comments (0)

Files changed (1)

pypy/config/pypyoption.py

                    requires=[("objspace.std.builtinshortcut", True)]),
         BoolOption("withidentitydict",
                    "track types that override __hash__, __eq__ or __cmp__ and use a special dict strategy for those which do not",
-                   default=True),
+                   default=False),
      ]),
 ])
 
         config.objspace.std.suggest(getattributeshortcut=True)
         config.objspace.std.suggest(newshortcut=True)
         config.objspace.std.suggest(withspecialisedtuple=True)
+        config.objspace.std.suggest(withidentitydict=True)
         #if not IS_64_BITS:
         #    config.objspace.std.suggest(withsmalllong=True)