[issue34090] Python function call optimization: avoid temporary tuple to pass **kwargs

STINNER Victor report at bugs.python.org
Thu Jul 12 12:04:36 EDT 2018


STINNER Victor <vstinner at redhat.com> added the comment:

Yeah, I recall these issues since I wrote them :-D

The fix for bpo-29318 was to document that we must copy the kwargs dict ;-)

But this issue is not about the copy of the kwargs dict, but about two useless conversions: kwargs dict -> kwnames tuple -> kwargs dict.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34090>
_______________________________________


More information about the Python-bugs-list mailing list