Skip to content

gh-105481: expose opcode metadata via the _opcode module #106688

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

Merged
merged 10 commits into from
Jul 14, 2023

Conversation

iritkatriel
Copy link
Member

@iritkatriel iritkatriel commented Jul 12, 2023

@iritkatriel iritkatriel requested a review from markshannon as a code owner July 12, 2023 20:35
@iritkatriel iritkatriel marked this pull request as draft July 12, 2023 20:40
@iritkatriel
Copy link
Member Author

There's a problem here with the definition of the metadata table. I'll try to sort it out tomorrow.

@iritkatriel iritkatriel marked this pull request as ready for review July 14, 2023 14:39
Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

Something worries me about the amount of repetition for each flag. But the alternative (exposing the flags as an int, and the constants) seems worse. So go for it!

@iritkatriel
Copy link
Member Author

Yes, I didn't want to expose the bitmap implementation.

@iritkatriel iritkatriel merged commit 6a70edf into python:main Jul 14, 2023
@iritkatriel iritkatriel deleted the expose_metadata branch July 25, 2023 18:02
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