[mythtv-commits] Ticket #10737: Poll.select() not portable to OS X

MythTV noreply at mythtv.org
Fri May 18 11:43:01 UTC 2012

#10737: Poll.select() not portable to OS X
     Reporter:  Craig Treleaven <ctreleaven@…>  |      Owner:  wagnerrp
         Type:  Bug Report - General            |     Status:  new
     Priority:  minor                           |  Milestone:  unknown
    Component:  Bindings - Python               |    Version:  Unspecified
     Severity:  medium                          |   Keywords:
Ticket locked:  0                               |
 select.poll()--used in utility.py--is not supported on the OS X, see
 following.  <http://bugs.python.org/issue5154>  One reference I found
 suggests to use select.kevent() instead.

 $ python
 Python 2.6.8 (unknown, Apr 14 2012, 04:15:37)
 [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
 Type "help", "copyright", "credits" or "license" for more information.
 >>> from MythTV import *
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/opt/local/lib/python2.6/site-packages/MythTV/__init__.py", line
 36, in <module>
     from utility import *
   File "/opt/local/lib/python2.6/site-packages/MythTV/utility.py", line 8,
 in <module>
     from select import select, poll, POLLHUP, POLLIN, POLLOUT
 ImportError: cannot import name poll

Ticket URL: <http://code.mythtv.org/trac/ticket/10737>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center

More information about the mythtv-commits mailing list