Closed
Description
Bug report
Bug description:
inst(BUILD_MAP, (values[oparg*2] -- map)) {
map = _PyDict_FromItems(
values, 2,
values+1, 2,
oparg);
if (map == NULL) <--------------
goto error; <------------------
DECREF_INPUTS();
ERROR_IF(map == NULL, error);
}
If an error occurs, the number of links will not decrease
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows