Staging: this is not the live site, pydocs.org.
Return a dict mapping each thread's identifier to its current raised exception.
This function should be used for specialized purposes only.
Changed in 3.12
- 3.12: Each value in the dictionary is now a single exception instance, rather than a 3-tuple as returned from sys.exc_info().