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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26654>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to