iceboy added the comment:
I feel like we should not check the argument and allow overriding. If the
argument checking is desired, can we also check when there is only a single
kwargs? Currently `foo(**d)` still works in Python 3.6 with duplicated keys
New submission from iceboy :
Using the multidict package on pypi to illustrate the problem.
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>&g
iceboy added the comment:
Created a PR https://github.com/python/asyncio/pull/328. Please review. Thanks.
--
___
Python tracker
<http://bugs.python.org/issue26
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