commit | 64366fa9b3ba71b8a503a8719eff433f4ea49eb9 | [log] [tgz] |
---|---|---|
author | Julien Danjou <julien@danjou.info> | Mon Nov 02 15:16:25 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Nov 02 16:16:25 2020 +0200 |
tree | 8aa6d76484553d2f29bfe5d03709a86c0abe547f | |
parent | 3d86d090dcbbdfdd3e5a5951cab30612d6131222 [diff] |
bpo-41435: Add sys._current_exceptions() function (GH-21689) 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.