read text from REPL, don't eval
This commit is contained in:
parent
dfe59f410c
commit
53d886a492
|
|
@ -98,7 +98,7 @@ def repl(stack=(), dictionary=None):
|
|||
print(stack_to_string(stack), '<-top')
|
||||
print()
|
||||
try:
|
||||
text = eval(input('joy? '))
|
||||
text = input('joy? ')
|
||||
except (EOFError, KeyboardInterrupt):
|
||||
break
|
||||
viewer = TracePrinter()
|
||||
|
|
|
|||
Loading…
Reference in New Issue