Don't let module imports have side-effects.

The pretty printer module was inscribing the trace command as a side-
effect of importing it.
This commit is contained in:
Simon Forman
2020-12-19 23:53:04 -08:00
parent 5a2758b50d
commit 1cf82b8bcb
3 changed files with 8 additions and 12 deletions
-1
View File
@@ -23,7 +23,6 @@ attempts to stay very close to the spirit of Joy but does not precisely
match the behaviour of the original version(s) written in C.
'''
from __future__ import print_function
from builtins import input
from traceback import print_exc
from .parser import text_to_expression, ParseError, Symbol