diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:50:03 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-06 06:50:03 (GMT) |
commit | ec39756960def5fdd8cb0ae191429f2f8e229f55 (patch) | |
tree | adb8bb87ed393db602face59929660b968f452e5 /Modules/faulthandler.c | |
parent | 72783056983f216104087b6c49d85ea273bf67c4 (diff) | |
parent | 48842714b948fa239392ddd7e207151d5fcb8bc7 (diff) | |
download | cpython-ec39756960def5fdd8cb0ae191429f2f8e229f55.zip cpython-ec39756960def5fdd8cb0ae191429f2f8e229f55.tar.gz cpython-ec39756960def5fdd8cb0ae191429f2f8e229f55.tar.bz2 |
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r-- | Modules/faulthandler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index a990d25..9be5ccf 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -488,7 +488,7 @@ faulthandler_py_enable(PyObject *self, PyObject *args, PyObject *kwargs) return NULL; Py_XINCREF(file); - Py_SETREF(fatal_error.file, file); + Py_XSETREF(fatal_error.file, file); fatal_error.fd = fd; fatal_error.all_threads = all_threads; fatal_error.interp = tstate->interp; @@ -668,7 +668,7 @@ faulthandler_dump_traceback_later(PyObject *self, cancel_dump_traceback_later(); Py_XINCREF(file); - Py_SETREF(thread.file, file); + Py_XSETREF(thread.file, file); thread.fd = fd; thread.timeout_us = timeout_us; thread.repeat = repeat; @@ -846,7 +846,7 @@ faulthandler_register_py(PyObject *self, } Py_XINCREF(file); - Py_SETREF(user->file, file); + Py_XSETREF(user->file, file); user->fd = fd; user->all_threads = all_threads; user->chain = chain; |