OSDN Git Service

Don't let module imports have side-effects.
authorSimon Forman <sforman@hushmail.com>
Sun, 20 Dec 2020 07:53:04 +0000 (23:53 -0800)
committerSimon Forman <sforman@hushmail.com>
Sun, 20 Dec 2020 07:53:04 +0000 (23:53 -0800)
commit1cf82b8bcbc92f7e4002d9a97914cead97087173
treeabd6560d0b996a386f01bf8f46010aac419d1fe5
parent5a2758b50d48d96a64489e75842912129e23dee9
Don't let module imports have side-effects.

The pretty printer module was inscribing the trace command as a side-
effect of importing it.
joy/__main__.py
joy/joy.py
joy/utils/pretty_print.py