def runsource(self, source, filename="<input>", symbol="single"):
        try:
            code = self.compile(source, filename, symbol)
        except (OverflowError, SyntaxError, ValueError):
            # Case 1
            self.showsyntaxerror(filename)
            return False

        if code is None:
            # Case 2
            return True

        # Case 3
        self.runcode(code)
        return False
Compile and run some source in the interpreter.
dataset/ETHPy150Open babble/babble/include/jython/Lib/code.py/InteractiveInterpreter.runsource