diff options
author | Victor Stinner <vstinner@python.org> | 2022-02-25 15:22:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 15:22:00 (GMT) |
commit | 87af12bff33b3e7546fa26158b7d8680ecb6ecec (patch) | |
tree | e51866d5b4f968074beadf3ada9da856601a43d4 /Modules/signalmodule.c | |
parent | f780d9690f1a009a56ac0c653ec9608e6b2aeff4 (diff) | |
download | cpython-87af12bff33b3e7546fa26158b7d8680ecb6ecec.zip cpython-87af12bff33b3e7546fa26158b7d8680ecb6ecec.tar.gz cpython-87af12bff33b3e7546fa26158b7d8680ecb6ecec.tar.bz2 |
bpo-46836: Rename InterpreterFrame to _PyInterpreterFrame (GH-31583)
Rename also struct _interpreter_frame to struct _PyInterpreterFrame.
Reduce risk of name conflicts if a project includes pycore_frame.h.
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 4d2ca57..26a1f48 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -8,7 +8,7 @@ #include "pycore_call.h" // _PyObject_Call() #include "pycore_ceval.h" // _PyEval_SignalReceived() #include "pycore_fileutils.h" // _Py_BEGIN_SUPPRESS_IPH -#include "pycore_frame.h" // InterpreterFrame +#include "pycore_frame.h" // _PyInterpreterFrame #include "pycore_moduleobject.h" // _PyModule_GetState() #include "pycore_pyerrors.h" // _PyErr_SetString() #include "pycore_pylifecycle.h" // NSIG @@ -1809,7 +1809,7 @@ _PyErr_CheckSignalsTstate(PyThreadState *tstate) */ _Py_atomic_store(&is_tripped, 0); - InterpreterFrame *frame = tstate->cframe->current_frame; + _PyInterpreterFrame *frame = tstate->cframe->current_frame; signal_state_t *state = &signal_global_state; for (int i = 1; i < NSIG; i++) { if (!_Py_atomic_load_relaxed(&Handlers[i].tripped)) { |