Skip to content
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

gh-120029: export DEF_TYPE_PARAM compiler flag #120028

Merged
merged 5 commits into from
Jun 4, 2024

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Jun 4, 2024

In this PR, I decided to only export the DEF_TYPE_PARAM flag for now. Note that some flags are exported but not exposed in repr() but I will not change that behaviour for now. Other flags such as DEF_COMP_ITER could be exported and used but I decided not to do it for now as well.

I changed some stylistic parts as well since they were probably missed. Note that the order of the imports in symtable affect the repr() (maybe it would have been preferrable to change the macros' values...).

@picnixz picnixz changed the title export DEF_TYPE_PARAM compiler flag gh-120029: export DEF_TYPE_PARAM compiler flag Jun 4, 2024
@JelleZijlstra JelleZijlstra self-requested a review June 4, 2024 14:01
@JelleZijlstra JelleZijlstra merged commit ff1857d into python:main Jun 4, 2024
38 checks passed
@picnixz picnixz deleted the fix-symtable-flags branch June 4, 2024 14:26
@picnixz
Copy link
Member Author

picnixz commented Jun 4, 2024

@JelleZijlstra By the way, should this PR be backported to 3.12 and 3.13?

@JelleZijlstra
Copy link
Member

I don't think so, we're adding a method so this is a new feature.

barneygale pushed a commit to barneygale/cpython that referenced this pull request Jun 5, 2024
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request 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 this pull request may close these issues.

2 participants