Yury Selivanov added the comment:

> A verbose error like this one would have made this behavior more clear to me.

Well, it already raises a TypeError with a clear message -- this is how we tell 
the user that the argument type is not supported in Python.  I don't think we 
need to specialize this code any further.

Instead I'd suggest to try to improve asyncio documentation for `ensure_future` 
and `run_coroutine_threadsafe`.

----------

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

Reply via email to