]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Move _Py_excinfo Functions Out of the Internal C-API (gh-111715)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 6 Nov 2023 18:09:22 +0000 (11:09 -0700)
committerGitHub <noreply@github.com>
Mon, 6 Nov 2023 18:09:22 +0000 (11:09 -0700)
commitd4426e8d001cfb4590911e2e7de6963e12529faf
treee8363d3f93fd0bc6d86996603971081507e97ec4
parent836e0a75d565ecb7e2485fee88dbe67e649a1d5f
gh-76785: Move _Py_excinfo Functions Out of the Internal C-API (gh-111715)

I added _Py_excinfo to the internal API (and added its functions in Python/errors.c) in gh-111530 (9322ce9).  Since then I've had a nagging sense that I should have added the type and functions in its own PR.  While I do plan on using _Py_excinfo outside crossinterp.c very soon (see gh-111572/gh-111573), I'd still feel more comfortable if the _Py_excinfo stuff went in as its own PR.  Hence, here we are.

(FWIW, I may combine that with gh-111572, which I may, in turn, combine with gh-111573.  We'll see.)
Include/internal/pycore_crossinterp.h
Include/internal/pycore_pyerrors.h
Python/crossinterp.c
Python/errors.c