Skip to content

generator frame type should not be PyObject*[] #120834

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

Closed
iritkatriel opened this issue Jun 21, 2024 · 0 comments · Fixed by #120835
Closed

generator frame type should not be PyObject*[] #120834

iritkatriel opened this issue Jun 21, 2024 · 0 comments · Fixed by #120835
Assignees

Comments

@iritkatriel
Copy link
Member

iritkatriel commented Jun 21, 2024

For historical reasons, the *_iframe field in _PyGenObject_HEAD is declared as PyObject*[], and later cast to _PyInterpreterFrame * (which is not a PyObject*).

Linked PRs

@iritkatriel iritkatriel self-assigned this Jun 21, 2024
iritkatriel added a commit to iritkatriel/cpython that referenced this issue Jun 21, 2024
iritkatriel added a commit to iritkatriel/cpython that referenced this issue Jun 24, 2024
@iritkatriel iritkatriel reopened this Jun 24, 2024
iritkatriel added a commit to iritkatriel/cpython that referenced this issue Jun 24, 2024
mrahtz pushed a commit to mrahtz/cpython that referenced this issue Jun 30, 2024
mrahtz pushed a commit to mrahtz/cpython that referenced this issue Jun 30, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this issue Jul 11, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this issue Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 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 a pull request may close this issue.

1 participant