Serhiy Storchaka added the comment:
Issue27358 is too complex, more complex than this issue. But I think the simple
fix the regression in case of the single **kw is checking wherever the sum dict
is empty.
- if (with_call) {
+ if (with_call && PyDict_Size(sum)) {
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27213>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com