Repository navigation
configure option for epoll disable #138850
Description
Activity
- addedtype-featureA feature request or enhancementA feature request or enhancementbuildThe build process and cross-buildThe build process and cross-build
on Sep 12, 2025 Under the unsupported platforms policy, I think a PR adding a
--without-epolloption would be acceptable. Do you want to write one?If you can modify
pyconfig.hafter configuring, considersedding out#define HAVE_EPOLL 1out, or undefining it at the end. That might need fewer adjustments between the releases.- addedpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
on Feb 13, 2026 I'll close for now; let's reopen if you want to work on a
configurepatch.- added a commit that references this issue
on Mar 10, 2026 - removedpendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
on Mar 25, 2026 Copy of the Python 3.13 patch description:
Without this patch, python detects and uses epoll which only exists in
OmniOS for lx zones and Linux compatibility. It is not quite the same as
the Linux implementation and can cause socket related failures in python.There is no nice way to tell configure that we don't have it
(pkgsrc get around this by installing a broken epoll.h into the build
chroot area).- added a commit that references this issue
on Mar 30, 2026
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsDone
The illumos implementation of epoll is not good enough to be used by Python and so OpenIndiana modifies the
configurescript to make sure the epoll is not detected (and so not used). Here are patches for Python 3.7, 3.9, 3.12, and 3.13.It would be great if there is some
configureoption to disable epoll so we do not need to cary these patches.Thank you.
Linked PRs