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

Raymond Hettinger report at bugs.python.org
Fri Apr 16 23:00:58 CEST 2010


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

Does this mean that every time someone uses **kwds, that the entire dictionary will need to be scanned for invalid keys?  So every API that accepts and passes through **kwds will be slowed on every time it is called.  Is there any offsetting benefit?

----------

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


More information about the Python-bugs-list mailing list