]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257)
authorAbhijeet Kasurde <akasurde@redhat.com>
Thu, 23 Jul 2020 03:13:37 +0000 (08:43 +0530)
committerGitHub <noreply@github.com>
Thu, 23 Jul 2020 03:13:37 +0000 (20:13 -0700)
commitbcd47837a9bf4806e559b40df73869493efcce27
treee6c95e6ba02927266ed7ab30918b62bfed9d8253
parentb9f6ac9d463b3c5823197b0bde3869876f65f413
bpo-41182 selector: use DefaultSelector based upon implementation (GH-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>
Lib/selectors.py
Misc/NEWS.d/next/Library/2020-07-01-17-33-50.bpo-41182.FPFI0N.rst [new file with mode: 0644]