diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-26 10:05:12 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-26 10:05:12 (GMT) |
commit | 9b524d59b01645e8a63bf2006169ebc11bd0841a (patch) | |
tree | 63a23f4da6582277641b08770c0fa643c78b3132 /Lib/asyncio/constants.py | |
parent | 3d2256f671b7ed5c769dd34b27ae597cbc69047c (diff) | |
download | cpython-9b524d59b01645e8a63bf2006169ebc11bd0841a.zip cpython-9b524d59b01645e8a63bf2006169ebc11bd0841a.tar.gz cpython-9b524d59b01645e8a63bf2006169ebc11bd0841a.tar.bz2 |
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.
Diffstat (limited to 'Lib/asyncio/constants.py')
0 files changed, 0 insertions, 0 deletions