Skip to content

Fix python codegen crash when C++ features are used. #20577

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 1 commit into from
Mar 6, 2025
Merged

Conversation

mkruskal-google
Copy link
Member

What we actually want to prevent is any future use of non-enum features or python-specific features which don't exist today. If other language features are present we can safely strip them from the python gencode. We also reserve an extension number for the future python features in descriptor.proto

PiperOrigin-RevId: 733885839

What we actually want to prevent is any future use of non-enum features or python-specific features which don't exist today.  If other language features are present we can safely strip them from the python gencode.  We also reserve an extension number for the future python features in descriptor.proto

PiperOrigin-RevId: 733885839
@mkruskal-google mkruskal-google added python back-port Cherrypick PRs to release branches labels Mar 5, 2025
@mkruskal-google mkruskal-google requested a review from a team as a code owner March 5, 2025 23:23
@mkruskal-google mkruskal-google requested review from anandolee and zhangskz and removed request for a team March 5, 2025 23:23
@mkruskal-google mkruskal-google merged commit 250c550 into 30.x Mar 6, 2025
208 of 224 checks passed
@mkruskal-google mkruskal-google deleted the pycpp-cp branch March 6, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-port Cherrypick PRs to release branches python
2 participants