1. Pypy
  2. Untitled project
  3. pypy


pypy / pypy / translator / goal / targetgcbench.py

import os, sys
from pypy.translator.goal import gcbench

# _____ Define and setup target ___

def target(*args):
    gcbench.ENABLE_THREADS = False    # not RPython
    return gcbench.entry_point, None

Why is this a stand-alone target?

The above target specifies None as the argument types list.
This is a case treated specially in the driver.py . If the list
of input types is empty, it is meant to be a list of strings,
actually implementing argv of the executable.