gh-105071: add PyUnstable_Exc_PrepReraiseStar to expose except* implementation in the unstable API#105072
Conversation
… implementation in the unstable API
erlend-aasland
left a comment
There was a problem hiding this comment.
Doc formatting nits. Otherwise: lgtm, as far as I can see.
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
|
🤖 New build scheduled with the buildbot fleet by @iritkatriel for commit 784b102 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
|
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
|
Sorry @iritkatriel, I had trouble checking out the |
…except* implementation in the unstable API (pythonGH-105072) (cherry picked from commit b7aadb4) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
|
GH-105095 is a backport of this pull request to the 3.12 branch. |
|
GH-105095 is a backport of this pull request to the 3.12 branch. |
I did not rename the internal function, but rather added an API function that calls it. This is because the internal function can make more assumptions about the input than an API function (so the API function raises exceptions on things that the internal function just asserts).
Fixes #105071.
CC @da-woods .
📚 Documentation preview 📚: https://cpython-previews--105072.org.readthedocs.build/