[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-02 Thread iceboy
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

[issue35634] kwargs regression when there are multiple entries with the same key

2019-01-01 Thread iceboy
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

[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 <http://bugs.python.org/issue26

[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