Useful functions for debugging Python.