Yury Selivanov added the comment: > What do you think of this feature? Does it make sense to expose (internally) > the "handle currently executed"?
I think it's OK to have something like `loop._current_handle` to work ~only~ in debug mode. Enhancing `loop.call_exception_handler` to use it also makes sense. I would also want to make sure, that this property exists only in debug mode and shouldn't be used outside of asyncio. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23208> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com