[MacPorts] #59886: Consider re-enabling HAVE_POLL in python

MacPorts noreply at macports.org
Tue Dec 24 08:45:23 UTC 2019


#59886: Consider re-enabling HAVE_POLL in python
------------------------+--------------------------------------
 Reporter:  grimreaper  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  python python36 python37
------------------------+--------------------------------------
 In https://trac.macports.org/ticket/18376 we disabled poll(2) for python
 due to bugs in apple's implementation. As far as I could tell:

 1) Poll is no longer disabled in any fix file in modern mac versions
 https://opensource.apple.com/source/python/python-109.200.2/2.7/fix/
 2) The buggy version of poll was fixed
 ∴./a.out
 poll() works
 ∴sw_vers
 ProductName:    Mac OS X
 ProductVersion: 10.14.6
 BuildVersion:   18G2022

 3) and has worked since at least 10.12.2:
 https://github.com/curl/curl/issues/1057#issuecomment-271866997


 Further some python software explicitly looks for "PollSelector" instead
 of relying on the default.

-- 
Ticket URL: <https://trac.macports.org/ticket/59886>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list