-
Notifications
You must be signed in to change notification settings - Fork 852
Frame ffi #5154
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
Frame ffi #5154
Conversation
There are compiler errors in |
Update: This is the command that fails in the pipeline from what I can tell:
Running this locally, doesn't fail for me....and as I type this, I see the pipeline is running against py 3.14, so maybe I'm running against a different version of python. |
The 3.14 failures are known and not caused by this PR, sorry for the confusion. I'll retry the 3.13 job, looks like possible flakiness |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, just a couple small tidy ups I saw.
#[repr(C)] | ||
#[cfg(not(any(PyPy, GraalPy, Py_3_11)))] | ||
pub struct PyFrameObject { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add a 5154.removed.md
to note that we no longer offer access to the frame object internal structure on versions before 3.11.
// TODO: Created this file as part of fixing pyframe.rs and cpython/pyframe.rs | ||
// TODO: Finish defining or moving declarations now in Include/pytypedefs.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: David Hewitt <[email protected]>
Co-authored-by: David Hewitt <[email protected]>
@davidhewitt back to you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Add pyframe declarations and move around declarations to match CPython as of this PR (3.13, I think?).