10BC0 gh-105481: expose opcode metadata via the _opcode module by iritkatriel · Pull Request #106688 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

0