-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose _PyExc_PrepReraiseStar (and other intrinsics?) in the unstable api #40
Comments
If we are to expose this, I think it has to be as "part of the implementation of And if we do expose it as an implementation detail, then it can't be part of the normal API. |
I think I was erroneously think that this function has to exist for any implementation of I guess that isn't really true, because it'd be possible to write an implementation that builds up the result exception group incrementally after each individual In that case possibly the fundamental building blocks (that have to exist whatever implementation Python choses) are probably |
In any case, I think |
I've created a PR for _PyExc_PrepReraiseStar. I still see this issue as a more general one in the context of the C API, about exposing interpreter implementation details. |
Copied from a discuss discussion:
I was directed here:
I'd slightly disagree with this interpretation - while it looks like
_PyExc_PrepReraiseStar
is an intrinsic, it also seems like something that can be done to an instance ofBaseExceptionGroup
independently of the bytecode (although practically I don't know why you'd want to except for reimplementing the interpreter).The text was updated successfully, but these errors were encountered: