poll() on OSX 10.3.9

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Norman Khine

    #1

    poll() on OSX 10.3.9

    Hello,
    I need to use the 'select' module in python, but get an error on the:

    Python 2.5b2 (r25b2:50512, Jul 31 2006, 15:01:51)
    [GCC 3.3 20030304 (Apple Computer, Inc. build 1640)] on darwin
    Type "help", "copyright" , "credits" or "license" for more information.
    >>import select
    >>dir(select)
    ['__doc__', '__file__', '__name__', 'error', 'select']
    >>>

    this works fine on BSD4

    Python 2.5b2 (r25b2:50512, Jul 31 2006, 12:43:17)
    [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
    Type "help", "copyright" , "credits" or "license" for more information.
    >>import itools
    >>from select import POLLIN
    >>import select
    >>dir(select)
    ['POLLERR', 'POLLHUP', 'POLLIN', 'POLLNVAL', 'POLLOUT', 'POLLPRI',
    'POLLRDBAND', 'POLLRDNORM', 'POLLWRBAND', 'POLLWRNORM', '__doc__',
    '__file__', '__name__', 'error', 'poll', 'select']

    is there anything specific to do to the python installation before
    compiling.

    i am using the itools library from http://www.ikaaro.org/itools which
    uses this python module

    thanks

    --
    Norman Khine

Working...