[issue41182] DefaultSelector fails to detect selector on VMware ESXi

Abhijeet Kasurde report at bugs.python.org
Wed Jul 1 07:08:19 EDT 2020


New submission from Abhijeet Kasurde <akasurde at redhat.com>:

When DefaultSelector is used on VMware ESXi, it fails with 

>>> import selectors
>>> selector = selectors.DefaultSelector()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/build/mts/release/bora-4887370/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/selectors.py", line 390, in __init__
OSError: [Errno 38] Function not implemented

After debugging, I found that it is using Selector which is not implemented for ESXi kernel. 

Change DefaultSelector mechanism to use 'select' implementation to choose default selector.

----------
components: Library (Lib)
messages: 372746
nosy: akasurde
priority: normal
severity: normal
status: open
title: DefaultSelector fails to detect selector on VMware ESXi
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41182>
_______________________________________


More information about the Python-bugs-list mailing list