[3.6] bpo-29655: Fixed possible reference leaks in `import *`. (#301) by berkerpeksag · Pull Request #348 · python/cpython
locals = f->f_locals; if (locals == NULL) { PyErr_SetString(PyExc_SystemError, "no locals found during 'import *'"); Py_DECREF(from); goto error; } err = import_all_from(locals, from);