[New-bugs-announce] [issue23519] using asyncio.iscoroutinefunction() on a functools.partial object

Mathieu Pasquet report at bugs.python.org
Wed Feb 25 12:00:40 CET 2015


New submission from Mathieu Pasquet:

Using iscoroutinefunction() on an object returned by functools.partial() should return True if the function wrapped was a coroutine function.

(a recursive loop like the one in asyncio/events.py get_function_source() may be what needs to be done)

----------
components: asyncio
messages: 236569
nosy: gvanrossum, haypo, mathieui, yselivanov
priority: normal
severity: normal
status: open
title: using asyncio.iscoroutinefunction() on a functools.partial object
type: enhancement
versions: Python 3.4

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


More information about the New-bugs-announce mailing list