[MacPorts] #58831: select.poll() not available in Python 3.x but present in Python 2.7

MacPorts noreply at macports.org
Thu Aug 15 02:58:11 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 reneeotten):

 Yes, that indeed appears the case from browsing the web, at least from the
 [https://daniel.haxx.se/blog/2016/10/11/poll-on-mac-10-12-is-broken/ blog
 of a curl developer]. Compiling the test code in that link on macOS
 10.14.6 suggests indeed that it works correctly now.

 It also appears that the {{{configure}}} step performs some check for
 {{{polll}}}, but I am not sure if that's sufficient to predict these
 potential runtime errors. From the Python docs or bug tracker it doesn't
 become very clear to me.

 On the other hand, this patch was removed from Python 2.7 more than 6
 years ago now and it seems that nobody every filed a Ticket with an issue
 - perhaps that's enough to say that it's likely okay to remove it from
 Python 3.x as well? Or perhaps we would need to run the small test program
 on the different macOS versions and only apply the patch where needed
 (presumably only below 10.9; I think we can assume that users of 10.12
 would have updated to 10.12.2 by now)?

-- 
Ticket URL: <https://trac.macports.org/ticket/58831#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list