[MacPorts] #58831: select.poll() not available in Python 3.x but present in Python 2.7
MacPorts
noreply at macports.org
Thu Aug 15 13:11:24 UTC 2019
#58831: select.poll() not available in Python 3.x but present in Python 2.7
-----------------------------------+--------------------
Reporter: reneeotten | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: python3 py-wurlitzer |
-----------------------------------+--------------------
Comment (by jmroot):
The configure check seems to be only for a really severely broken poll. On
< 10.9 it "works", it just burns a lot of CPU unnecessarily.
I agree it's probably OK to re-enable on 10.9+ at least. On < 10.9, the
way forward is less clear: this one module would work (badly), but maybe
other modules work better when they choose kqueue or select instead due to
poll being unavailable. TBH, wurlitzer should be using the selectors
module for its I/O multiplexing anyway; relying on poll alone really
limits portability. (Even just within macOS, Apple's python still disables
poll to this day.)
--
Ticket URL: <https://trac.macports.org/ticket/58831#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list