Skip to content

Conversation

@pietern
Copy link
Contributor

@pietern pietern commented Oct 3, 2019

Stack from ghstack:

The warnings related to usage of the deprecated != operator. Instead
of checking the member field on every function call, we can check it
once, on construction of PythonRpcHandler.

Differential Revision: D17808213

The warnings related to usage of the deprecated != operator. Instead
of checking the member field on every function call, we can check it
once, on construction of PythonRpcHandler.
@zhaojuanmao
Copy link
Contributor

thanks for fixing it!

Copy link
Contributor

@mrshenli mrshenli left a comment

Choose a reason for hiding this comment

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

#25499 adds one more serialize function to this file. Shall also replace it with the getFunction wrapper?

@pietern
Copy link
Contributor Author

pietern commented Oct 4, 2019

@mrshenli I'll rebase past #25499 and include the function.

The warnings related to usage of the deprecated != operator. Instead
of checking the member field on every function call, we can check it
once, on construction of PythonRpcHandler.
@facebook-github-bot
Copy link
Contributor

@pietern merged this pull request in c742918.

@facebook-github-bot facebook-github-bot deleted the gh/pietern/39/head branch October 28, 2019 22:18
thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary:
Pull Request resolved: pytorch#27284

The warnings related to usage of the deprecated != operator. Instead
of checking the member field on every function call, we can check it
once, on construction of PythonRpcHandler.

Test Plan: Imported from OSS

Differential Revision: D17808213

Pulled By: pietern

fbshipit-source-id: 022c8f77f266942c49c55b1729e62dbb06262d77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: pybind Related to our Python bindings / interactions with other Python libraries oncall: distributed Add this issue/PR to distributed oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants