changeset: 100915:aa5dbc32d313 branch: 3.5 parent: 100913:73050563053f user: Serhiy Storchaka date: Mon Apr 11 09:53:37 2016 +0300 files: Modules/_functoolsmodule.c description: Issue #26200: Restored more safe usages of Py_SETREF. diff -r 73050563053f -r aa5dbc32d313 Modules/_functoolsmodule.c --- a/Modules/_functoolsmodule.c Mon Apr 11 02:44:34 2016 +0000 +++ b/Modules/_functoolsmodule.c Mon Apr 11 09:53:37 2016 +0300 @@ -294,9 +294,9 @@ else Py_INCREF(dict); - Py_XSETREF(pto->fn, fn); - Py_XSETREF(pto->args, fnargs); - Py_XSETREF(pto->kw, kw); + Py_SETREF(pto->fn, fn); + Py_SETREF(pto->args, fnargs); + Py_SETREF(pto->kw, kw); Py_XSETREF(pto->dict, dict); Py_RETURN_NONE; }