[issue2016] Crash when modifying the **kwargs passed to a function.

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jun 26 00:37:44 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Fixed in trunk with r73564.

I performed performance tests: differences with pybench were negligible 
(<1%), but a specially crafted case like:
   kw = dict(a=1, b=2, c=3)
   for x in xrange(self.rounds):
      f(**kw)
showed an improvement of 21%!

Will backport to various branches after 3.1 is out.

----------
assignee:  -> amaury.forgeotdarc
resolution:  -> fixed
status: open -> pending

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


More information about the Python-bugs-list mailing list