Commits

Armin Rigo committed aacfe8d

Make the --tealet and the --withmod-tealet options equivalent.

  • Participants
  • Parent commits 062824c
  • Branches tealet

Comments (0)

Files changed (1)

pypy/translator/goal/targetpypystandalone.py

                 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