1 | initial version |
In IPython/Jupyter, the python shell sage uses, there is some possibly more convenient control: https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-xmode
With %xmode Minimal
you can suppress the traceback completely.