[issue25599] asyncio.iscoroutinefunction returns unexpected results when presented with unittest.mock.Mock

Guido van Rossum report at bugs.python.org
Thu Nov 12 13:15:48 EST 2015


Guido van Rossum added the comment:

OK, I concede your point. It shouldn't be too hard to make
asyncio.iscoroutinefunction() behave the same way as
inspect.iscoroutinefunction(). Can you submit a patch?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25599>
_______________________________________


More information about the Python-bugs-list mailing list