Yury Selivanov added the comment:

> I think we should add "inspect.isawaitable()", and have it pass for 
> *anything* that can be used in an await expression (whether that's by 
> implementing the Awaitable protocol, or due to special casing at the 
> interpreter level).

I agree. I've committed the change.


Larry, please make sure that the latest patch lands in 3.5beta3. It's really 
important.

----------
nosy: +larry
resolution:  -> fixed
status: open -> closed

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

Reply via email to