https://github.com/python/cpython/commit/c1cb785ebd0859a3c560091c5bb4f7f559656b44 commit: c1cb785ebd0859a3c560091c5bb4f7f559656b44 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: vstinner <[email protected]> date: 2025-10-07T19:42:46+02:00 summary:
[3.14] gh-126662: naming consistency for `signal.ItimerError` (GH-126712) (#137122) gh-126662: naming consistency for `signal.ItimerError` (GH-126712) (cherry picked from commit d5fa437dfb50e2e47632cdc994e3257608688f30) Co-authored-by: Stephen Morton <[email protected]> files: M Modules/signalmodule.c diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 54bcd3270ef31a..c1c3d7c9c05534 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -1623,7 +1623,7 @@ signal_module_exec(PyObject *m) modstate->ignore_handler = state->ignore_handler; // borrowed ref #ifdef PYHAVE_ITIMER_ERROR - modstate->itimer_error = PyErr_NewException("signal.itimer_error", + modstate->itimer_error = PyErr_NewException("signal.ItimerError", PyExc_OSError, NULL); if (modstate->itimer_error == NULL) { return -1; _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
