[issue8419] dict constructor allows invalid identifiers in **kwargs

Mark Dickinson report at bugs.python.org
Fri Apr 16 17:15:57 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

The issue applies to dict.update as well:

>>> d = {1:2}
>>> d.update({3:4}, **{5:6})
>>> d
{1: 2, 3: 4, 5: 6}

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8419>
_______________________________________


More information about the Python-bugs-list mailing list