don't import pprint in core.py