Staging: this is not the live site, pydocs.org.
Custom Python Interpreters
Display the exception that just occurred.
We remove the first stack item because it is our own code.
The output is written by self.write(), below.
Changed in 3.5
- 3.5: The full chained traceback is displayed instead of just the primary traceback.