Author: Armin Rigo <[email protected]>
Branch: tealet
Changeset: r45392:aacfe8d3f7af
Date: 2011-07-06 16:31 +0200
http://bitbucket.org/pypy/pypy/changeset/aacfe8d3f7af/
Log: Make the --tealet and the --withmod-tealet options equivalent.
diff --git a/pypy/translator/goal/targetpypystandalone.py
b/pypy/translator/goal/targetpypystandalone.py
--- a/pypy/translator/goal/targetpypystandalone.py
+++ b/pypy/translator/goal/targetpypystandalone.py
@@ -182,6 +182,10 @@
raise ConflictConfigError("please use the --stackless option "
"to translate.py instead of "
"--withmod-_stackless directly")
+ if config.translation.tealet:
+ config.objspace.usemodules.tealet = True
+ elif config.objspace.usemodules.tealet:
+ config.translation.tealet = True
if not config.translation.rweakref:
config.objspace.usemodules._weakref = False
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit