Replies: 1 comment
-
Created #4762 - help welcome to expose these APIs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Back in 3.9, I used
frame->f_stacktop
but that got removed in 3.10 and that's reflected in the rust bindings.Then (for some other purpose) I used
frame->f_valuestack
but got got removed in 3.11 together with the frame struct reorganisation (the struct is effectively private), and that too is reflected in the rust bindings.3.11 did bring in an alternative API: PyFrame_GetLocals, etc. I don't see this in the rust bindings, but maybe I'm not looking in the right place?
What's the PyO3 recommended way to poke into the Python stack?
Beta Was this translation helpful? Give feedback.
All reactions