This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, vstinner, yselivanov
Date 2016-06-09.21:26:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwb2DM27XLqtvbJ2dYN1=1SYLiYJwL8bn_R1L6Q_XySRnA@mail.gmail.com>
In-reply-to <1465503815.33.0.681720563364.issue27128@psf.upfronthosting.co.za>
Content
Serhiy Storchaka added the comment:
> See issue27213. Maybe fast call with keyword arguments would avoid the creation of a dict.

In a first verison of my implementation, I used dictionary items
stored a a list of (key, value) tuples in the same PyObject* C array
than positional parameters.

But in practice, it's very rare in the C code base to have to call a
function with keyword parameters, but most functions expect keyword
parameters as a dict. They are implemented with
PyArg_ParseTupleAndKeywords() which expects a dict.
History
Date User Action Args
2016-06-09 21:26:47vstinnersetrecipients: + vstinner, serhiy.storchaka, yselivanov
2016-06-09 21:26:47vstinnerlinkissue27128 messages
2016-06-09 21:26:47vstinnercreate