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

MacPorts noreply at macports.org
Thu Aug 15 01:15:59 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):

 Hmm, so actually there was a genuine issue with waiting on 0 fds where
 poll() would return immediately even if a nonzero timeout was specified.
 That is the case on < 10.9 and also on 10.12-10.12.1. I don't know if
 python has any code to mitigate that or it's just a user-beware situation.
 I notice the python docs say that poll is not guaranteed to be available
 on all platforms.

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


More information about the macports-tickets mailing list