Mark Dickinson wrote: > Removing it certainly seems in keeping with the goal of making life > easier for alternate implementations. (Out of curiosity, does anyone > know what IronPython does here?) > > I've opened http://bugs.python.org/issue8419 It looks like IronPython reports a type error as well: IronPython 2.6.1 DEBUG (2.6.10920.0) on .NET 2.0.50727.4927 Type "help", "copyright", "credits" or "license" for more information. >>> def f(**kwargs): ... print(kwargs) ... >>> kwargs = {1: 3} >>> >>> dict({}, **kwargs) Traceback (most recent call last): File "<stdin>", line unknown, in <module> TypeError: expected string for dictionary argument got 1 >>> d = {1:2} >>> d.update({3:4}, **{5:6}) Traceback (most recent call last): File "<stdin>", line unknown, in <module> TypeError: expected string for dictionary argument got 5
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4