[New-bugs-announce] [issue26654] asyncio is not inspecting keyword arguments of functools.partial

iceboy report at bugs.python.org
Mon Mar 28 05:57:30 EDT 2016


New submission from iceboy:

import asyncio
import functools

def foo(x): raise Exception()

loop = asyncio.get_event_loop()
loop.call_soon(functools.partial(foo, x=1))
loop.run_forever()

Current error message:
    Exception in callback foo()() at ...:4

Expected error message:
    Exception in callback foo(x=1)() at ...:4

----------
components: asyncio
messages: 262566
nosy: gvanrossum, haypo, iceboy, yselivanov
priority: normal
severity: normal
status: open
title: asyncio is not inspecting keyword arguments of functools.partial
versions: Python 3.5

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


More information about the New-bugs-announce mailing list