Issue #22570: Renamed Py_SETREF to Py_XSETREF.

This commit is contained in:
Serhiy Storchaka 2016-04-06 09:50:03 +03:00
commit ec39756960
50 changed files with 174 additions and 174 deletions

View file

@ -884,7 +884,7 @@ update_code_filenames(PyCodeObject *co, PyObject *oldname, PyObject *newname)
return;
Py_INCREF(newname);
Py_SETREF(co->co_filename, newname);
Py_XSETREF(co->co_filename, newname);
constants = co->co_consts;
n = PyTuple_GET_SIZE(constants);
@ -1330,7 +1330,7 @@ remove_importlib_frames(void)
PyUnicode_CompareWithASCIIString(code->co_name,
remove_frames) == 0)) {
Py_XINCREF(next);
Py_SETREF(*outer_link, next);
Py_XSETREF(*outer_link, next);
prev_link = outer_link;
}
else {