[pypy-svn] r47600 - pypy/dist/pypy/config

arigo at codespeak.net arigo at codespeak.net
Fri Oct 19 17:51:53 CEST 2007


Author: arigo
Date: Fri Oct 19 17:51:52 2007
New Revision: 47600

Modified:
   pypy/dist/pypy/config/translationoption.py
Log:
We need default="ref" here, otherwise the option value is None as long
as no gc was set, which crashes some tests.


Modified: pypy/dist/pypy/config/translationoption.py
==============================================================================
--- pypy/dist/pypy/config/translationoption.py	(original)
+++ pypy/dist/pypy/config/translationoption.py	Fri Oct 19 17:51:52 2007
@@ -57,7 +57,7 @@
                   cmdline="--gc"),
     ChoiceOption("gctransformer", "GC transformer that is used - internal",
                  ["boehm", "ref", "framework", "none"],
-                  cmdline=None),
+                 default="ref", cmdline=None),
 
     BoolOption("stacklessgc", "Use stackless to find roots in a framework GC",
                default=False, cmdline="--stacklessgc",



More information about the Pypy-commit mailing list