mirror of
https://github.com/python/cpython.git
synced 2026-05-07 21:20:55 -04:00
64366fa9b3
This adds a new function named sys._current_exceptions() which is equivalent ot sys._current_frames() except that it returns the exceptions currently handled by other threads. It is equivalent to calling sys.exc_info() for each running thread.