New submission from STINNER Victor:

The call_soon(), call_later() and call_at() methods of asyncio event loops 
should raise an exception in debug code when they are not called from the right 
thread.

Currently, BaseEventLoop._assert_is_current_event_loop() does nothing if the 
event loop policy has no event loop for the current thread, when 
get_event_loop() raises an AssertionError.

----------
components: asyncio
messages: 231569
nosy: gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: asyncio:
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to