Skip to content

Conversation

@nicolaslg
Copy link
Contributor

In python-3.11 access to some fields of PyFrameObject was removed https://docs.python.org/3.11/whatsnew/3.11.html#pyframeobject-3-11-hiding

In particular PyFrame_GetCode() should be used instead of f_code

Note that it will force us to loose compatibility with python < 3.9
https://docs.python.org/3.11/c-api/frame.html#c.PyFrame_GetCode

@nicolaslg nicolaslg marked this pull request as ready for review August 22, 2024 22:01
Copy link
Contributor

@CharlesPignerol CharlesPignerol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crash_import_module_python also merged into this merge request.

@CharlesPignerol CharlesPignerol merged commit 0142e94 into main Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants