]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41182 selector: use DefaultSelector based upon implementation (GH-21257)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 26 Jul 2020 15:32:25 +0000 (08:32 -0700)
committerGitHub <noreply@github.com>
Sun, 26 Jul 2020 15:32:25 +0000 (08:32 -0700)
commit6e4975a1c79d8433d9d5b50ff1c655b5b5a2acd2
treea99edf6670355ef38928d7be852bbb410a614666
parent41d1c04f73185c1238680142aa1a81f54f2bf4a4
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>
(cherry picked from commit bcd47837a9bf4806e559b40df73869493efcce27)

Co-authored-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]