https://github.com/python/cpython/commit/89f256ecd1ac7d5350e3319be07dfb71cf3327c9 commit: 89f256ecd1ac7d5350e3319be07dfb71cf3327c9 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: kumaraditya303 <kumaradi...@python.org> date: 2025-07-27T09:58:21+05:30 summary:
[3.13] gh-126662: naming consistency for `signal.ItimerError` (GH-126712) (#137123) gh-126662: naming consistency for `signal.ItimerError` (GH-126712) (cherry picked from commit d5fa437dfb50e2e47632cdc994e3257608688f30) Co-authored-by: Stephen Morton <g...@tungol.org> files: M Modules/signalmodule.c diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 0e53a36bca55f0..e279a2a0885fc0 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -1621,7 +1621,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 -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: arch...@mail-archive.com