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 serhiy.storchaka
Recipients abacabadabacaba, alex, barry, docs@python, serhiy.storchaka
Date 2016-05-06.07:40:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Yet one difference is that kwargs can be NULL in C function if no keyword arguments are supplied.

Here is a patch that adds tests for exact types of args and kwargs arguments in C functions.

I think that we should keep passing NULL as kwargs for performance reasons. But shouldn't we convert dict subclass to exact dict? I think there are good reasons to do this. Some functions can save kwargs for latter use. And this makes the implementation more consistent with PyPy.

If defaultdict behavior is needed for formatting, there is format_map().
Date User Action Args
2016-05-06 07:40:09serhiy.storchakasetrecipients: + serhiy.storchaka, barry, alex, abacabadabacaba, docs@python
2016-05-06 07:40:09serhiy.storchakasetmessageid: <>
2016-05-06 07:40:09serhiy.storchakalinkissue18531 messages
2016-05-06 07:40:07serhiy.storchakacreate