commit | 9b524d59b01645e8a63bf2006169ebc11bd0841a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Mon Jan 26 11:05:12 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Jan 26 11:05:12 2015 +0100 |
tree | 63a23f4da6582277641b08770c0fa643c78b3132 | |
parent | 3d2256f671b7ed5c769dd34b27ae597cbc69047c [diff] |
Issue #23208, asyncio: Add BaseEventLoop._current_handle In debug mode, BaseEventLoop._run_once() now sets the BaseEventLoop._current_handle attribute to the handle currently executed. In release mode or when no handle is executed, the attribute is None. BaseEventLoop.default_exception_handler() displays the traceback of the current handle if available.