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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user