Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
I am talking about these lines:
Lines 4722 to 4734 ina36235d
| if (!PyDict_CheckExact(kwargs)) { | |
| PyObject*d=PyDict_New(); | |
| if (d==NULL) | |
| gotoerror; | |
| if (_PyDict_MergeEx(d,kwargs,2)<0) { | |
| Py_DECREF(d); | |
| format_kwargs_error(tstate,SECOND(),kwargs); | |
| Py_DECREF(kwargs); | |
| gotoerror; | |
| } | |
| Py_DECREF(kwargs); | |
| kwargs=d; | |
| } |
They are not ever called, because after#18141 all** dict unpacking is handled inDICT_MERGE opcode.
This was found while working on#94808 but I think that it deserves a separate issue.
PR is on its way.