[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2017-03-31 Thread Donald Stufft
Changes by Donald Stufft : -- pull_requests: +1083 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2016-09-15 Thread Yury Selivanov
Yury Selivanov added the comment: Merged! Thank you! -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2016-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4ab64ea31d75 by Yury Selivanov in branch '3.5': Issue #26654: Inspect functools.partial in asyncio.Handle.__repr__. https://hg.python.org/cpython/rev/4ab64ea31d75 New changeset 03257f04ee9f by Yury Selivanov in branch '3.6': Merge 3.5 (issue #26654)

[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2016-03-29 Thread STINNER Victor
STINNER Victor added the comment: > Oh, wow. I didn't even know we special-case partial() there. I wrote the code doing that. I did it to get more readable and shorter logs since asyncio produces a lot of logs. Example: Exception in callback print("Hello", "World!")() at ...:4 without sp

[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2016-03-29 Thread iceboy
iceboy added the comment: Created a PR https://github.com/python/asyncio/pull/328. Please review. Thanks. -- ___ Python tracker ___ __

[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2016-03-28 Thread Guido van Rossum
Guido van Rossum added the comment: Oh, wow. I didn't even know we special-case partial() there. In general we tend to focus more on positional arguments (since asyncio intentionally doesn't take keyword args for callbacks) but I see no reason why we couldn't add this here. Maybe you're intere

[issue26654] asyncio is not inspecting keyword arguments of functools.partial

2016-03-28 Thread iceboy
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 c