Skip to content

gh-92210: Port of Cinder's socket.__init__ which uses argument clinic. #92237

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 15 commits into from
May 4, 2022

Conversation

zitterbewegung
Copy link
Contributor

@zitterbewegung zitterbewegung commented May 3, 2022

gh-92210: Port of Cinder's socket.init which uses argument clinic.

gh-92210: In socket library I took their code that enhanced socket.__init__ to use argument clinic to the main branch.

@zitterbewegung zitterbewegung changed the title Port of Cinder's socket.__init__ which uses argument clinic. gh-92210: Port of Cinder's socket.__init__ which uses argument clinic. May 3, 2022
@erlend-aasland
Copy link
Contributor

Please use git pull --no-ff main instead of force-pushing. Force-pushing does not play well with GitHub's UI; OTOH, pulling does. It makes reviewing easier.

@@ -0,0 +1 @@
Port of Cinder's ``socket.__init__`` which uses argument clinic cpython.
Copy link
Contributor

Choose a reason for hiding this comment

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

git rm "Misc/NEWS.d/next/Library/2022-05-03-17-29-04.gh-issue-92210.csDOQM.rst"

Copy link
Contributor

@erlend-aasland erlend-aasland May 3, 2022

Choose a reason for hiding this comment

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

(There are still two NEWS entries; the newest you added is better than this one.)

@erlend-aasland
Copy link
Contributor

@ambv, can you kick the CI?

@JelleZijlstra
Copy link
Member

I'm not ambv but I kicked it. I'll take a look now and probably merge.

@JelleZijlstra JelleZijlstra self-assigned this May 3, 2022
@JelleZijlstra JelleZijlstra merged commit 000a072 into python:main May 4, 2022
@zitterbewegung zitterbewegung deleted the gh-92210 branch May 9, 2022 22:05
facebook-github-bot pushed a commit to facebookincubator/cinder that referenced this pull request Jul 1, 2022
Summary:
Original Diff: D23323432 by vladima, reviewed by carljm

This makes arg parsing somewhat faster.

This was already merged upstream in python/cpython#92237

We are leaving out the argclinic use in `lru_cache.__new__` for 3.10; this was
rejected upstream and should not be hot enough to matter.

Reviewed By: itamaro

Differential Revision: D37555740

fbshipit-source-id: 895ebb0
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.

5 participants