Skip to content

Format changes to python protoc generation#6479

Merged
jtattermusch merged 1 commit intogrpc:masterfrom
kpayson64:python_protoc_formatting
May 12, 2016
Merged

Format changes to python protoc generation#6479
jtattermusch merged 1 commit intogrpc:masterfrom
kpayson64:python_protoc_formatting

Conversation

@kpayson64
Copy link
Copy Markdown
Contributor

This addresses #2481, #6413, #3867, #5107.

Note that ideally we wouldn't have to duplicate ModuleAlias from the protoc code, but we are already duplicating ModuleName, so I think we push that off to a separate PR.

These changes pass the new rigorous tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this protobuf issue 888? If so, write it as TODO(https://github.com/google/protobuf/issues/888): Export....

@kpayson64
Copy link
Copy Markdown
Contributor Author

Made suggested changes and fixed a bug.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why change the indentation on this line?

@nathanielmanistaatgoogle
Copy link
Copy Markdown
Contributor

Please squash commits.

@kpayson64 kpayson64 force-pushed the python_protoc_formatting branch from c5938fc to 1b8f055 Compare May 10, 2016 15:11
@kpayson64
Copy link
Copy Markdown
Contributor Author

Made suggested changes.

@nathanielmanistaatgoogle
Copy link
Copy Markdown
Contributor

luhguhtum.

@soltanmm: any comment?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Style nit: C++ style has us use pointers for output parameters rather than lvalue references.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, please don't use references for output parameters. It's fine to have const references though.

@kpayson64 kpayson64 force-pushed the python_protoc_formatting branch from 1b8f055 to be187b0 Compare May 11, 2016 21:08
@kpayson64
Copy link
Copy Markdown
Contributor Author

Made suggested changes.

@soltanmm
Copy link
Copy Markdown
Contributor

lgtm; waiting on tests

@kpayson64
Copy link
Copy Markdown
Contributor Author

test this please

@jtattermusch jtattermusch merged commit a709afe into grpc:master May 12, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 27, 2019
@lock lock bot unassigned soltanmm Jan 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants