[Pythonmac-SIG] poll() on OSX 10.3.9 with python2.5b2
Dethe Elza
delza at livingcode.org
Mon Jul 31 19:18:26 CEST 2006
Norman Khine wrote:
> 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']
>
Hi Norman,
Did you build your own python or use a pre-built one?
It works for me on both 2.4.3 and 2.5b2, unless I'm missing something in
what you're asking:
Python 2.4.3 Universal on Intel:
$ python -c "import select;print dir(select)"
['POLLERR', 'POLLHUP', 'POLLIN', 'POLLNVAL', 'POLLOUT', 'POLLPRI',
'POLLRDBAND', 'POLLRDNORM', 'POLLWRBAND', 'POLLWRNORM', '__doc__',
'__file__', '__name__', 'error', 'poll', 'select']
Python 2.5b2 Universal on Intel:
$ python -c "import select; print dir(select)"
['POLLERR', 'POLLHUP', 'POLLIN', 'POLLNVAL', 'POLLOUT', 'POLLPRI',
'POLLRDBAND', 'POLLRDNORM', 'POLLWRBAND', 'POLLWRNORM', '__doc__',
'__file__', '__name__', 'error', 'poll', 'select']
--Dethe
More information about the Pythonmac-SIG
mailing list