gh-144748: Document 3.12 and 3.14 changes to PyErr_CheckSignals#144982
gh-144748: Document 3.12 and 3.14 changes to PyErr_CheckSignals#144982ZeroIntensity merged 5 commits intopython:mainfrom
PyErr_CheckSignals#144982Conversation
Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
My suggestion didn't apply well, sorry. |
|
We might want to note that neither the GC nor debugger scripts can raise an exception here. Otherwise, this looks good. |
|
Can you think of a situation where this info would be helpful? Situations I can think of look best solved by |
|
I was thinking about assertions, e.g. |
|
Yeah, I don't think you should ever do that. |
|
Ok, let's go with this. |
|
Thanks @ZeroIntensity for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…s` (pythonGH-144982) (cherry picked from commit 0629261) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
…s` (pythonGH-144982) (cherry picked from commit 0629261) Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
|
GH-145062 is a backport of this pull request to the 3.14 branch. |
|
GH-145063 is a backport of this pull request to the 3.13 branch. |
I'll need to remove the reference to the remote debugger in the 3.13 backport.
tstate->async_exc#144748📚 Documentation preview 📚: https://cpython-previews--144982.org.readthedocs.build/en/144982/c-api/exceptions.html#c.PyErr_CheckSignals