Author vstinner
Recipients methane, vstinner
Date 2017-01-18.17:07:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Follow-up of the issue #29311 "Argument Clinic: convert dict methods".

The dict.update() method hs a special prototype:

   def update(arg=None **kw): ...

I don't think that Argument Clinic supports it right now, so I propose to first optimize dict_update() to use METH_FASTCALL.

Attached patch is a first step: convert kwnames tuple to a dict.

A second step would be to avoid the temporary dict and update the dict using args + kwnames directly.
Date User Action Args
2017-01-18 17:07:42vstinnersetrecipients: + vstinner, methane
2017-01-18 17:07:42vstinnersetmessageid: <>
2017-01-18 17:07:42vstinnerlinkissue29312 messages
2017-01-18 17:07:42vstinnercreate