[proxy] web.archive.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

bpo-41182 selector: use DefaultSelector based upon implementation #21257

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
Jul 23, 2020

Conversation

Copy link
Contributor

Akasurde commented Jul 1, 2020

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Fixes: bpo-41182

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

https://bugs.python.org/issue41182

Automerge-Triggered-By: @gvanrossum

This comment has been minimized.

Copy link
Contributor Author

Akasurde commented Jul 1, 2020

Working on fixing failing tests.

Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Copy link
Contributor Author

I have made the requested changes; please review again

Copy link

Thanks for making the requested changes!

@aeros: please review the changes made to this pull request.

bedevere-bot requested a review from aeros July 16, 2020 11:59
Copy link
Member

gvanrossum left a comment

Choose a reason for hiding this comment

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

OK, I am going along with this.

Copy link
Member

PS. A meta-remark: please don’t force-push commits in response to code review. This makes changes harder to see for reviewers. We always squash commits when merging.

Copy link
Contributor Author

PS. A meta-remark: please don’t force-push commits in response to code review. This makes changes harder to see for reviewers. We always squash commits when merging.

I will take a note for the future, Thank you.

miss-islington merged commit bcd4783 into python:master Jul 23, 2020
Copy link
Member

You're welcome. Do you need this backported to 3.9? (We'd need to petition the release manager given the next release is rc1.)

Akasurde deleted the selector_fix branch July 23, 2020 05:05
Copy link
Contributor Author

@tiran @aeros @gvanrossum Thanks for the reviews. Yes, I would like to backport this to 3.9.

Copy link
Contributor

aeros commented Jul 25, 2020

/cc @ambv

ambv added the needs backport to 3.9 only security fixes label Jul 26, 2020
Copy link
Contributor

Thanks @Akasurde for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 26, 2020
…thonGH-21257)

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Fixes: [bpo-41182]()

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit bcd4783)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Copy link

GH-21630 is a backport of this pull request to the 3.9 branch.

bedevere-bot removed the needs backport to 3.9 only security fixes label Jul 26, 2020
miss-islington added a commit that referenced this pull request Jul 26, 2020
…-21257)

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Fixes: [bpo-41182]()

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit bcd4783)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 4, 2020
…thonGH-21257)

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Fixes: [bpo-41182]()

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Aug 20, 2020
…thonGH-21257)

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Fixes: [bpo-41182]()

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
…thonGH-21257)

On some platform such as VMware ESXi, DefaultSelector fails
to detect selector due to default value.
This fix adds a check and uses the correct selector depending upon
select implementation and actual call.

Fixes: [bpo-41182]()

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
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.

8 participants