Commit 9fa49c5d authored by Jose Tiago Macara Coutinho's avatar Jose Tiago Macara Coutinho Committed by Jose Tiago Macara Coutinho
Browse files

shell: provide REPL access in shell

parent 35587ea6
......@@ -203,8 +203,9 @@ def main():
history_filename = ".%s_history" % os.path.basename(sys.argv[0])
history_filename = os.path.join(os.environ["HOME"], history_filename)
def patch_repl(repl):
repl.get_globals()['REPL'] = repl
prev_execute = repl._execute
def wrapped_f(self,*args, **kwargs):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment