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.
Sorry, something went wrong.
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. |
Sorry, something went wrong.
|
Thanks @iritkatriel for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
|
Sorry @iritkatriel, I had trouble checking out the |
Sorry, something went wrong.
…except* implementation in the unstable API (pythonGH-105072) (cherry picked from commit b7aadb4) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
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/