See http://mail.python.org/pipermail/python-dev/2008-March/077380.html.
Bill
[EMAIL PROTECTED] wrote:
> I'm trying to build Python 2.3 on my Mac (OS X 10.5.5) so I can use it
> simply to test my lockfile package. It configures fine and the basic make
> step works, but the executable has some sort of problem with semaphore
> operations:
>
> % ./python.exe
> sem_init: Function not implemented
> sem_wait: Bad file descriptor
> sem_post: Bad file descriptor
> sem_wait: Bad file descriptor
> sem_post: Bad file descriptor
> sem_init: Function not implemented
> sem_trywait: Bad file descriptor
> sem_wait: Bad file descriptor
> sem_post: Bad file descriptor
> sem_init: Function not implemented
> ... lots of similar messages ad nauseum ...
> sem_post: Bad file descriptor
> sem_init: Function not implemented
> sem_trywait: Bad file descriptor
> sem_wait: Bad file descriptor
> sem_init: Function not implemented
> sem_post: Bad file descriptor
> Traceback (most recent call last):
> File "/Users/skip/.python.py", line 21, in ?
> from save_session import mark, save, load
> File "/Users/skip/misc/python/save_session.py", line 21, in ?
> raise ImportError("session save/restore requires readline module")
> ImportError: session save/restore requires readline module
> >>>
>
> I compared the code related to sem_init between 2.3 and trunk but didn't see
> anything which looked promising. Any thoughts?
>
> Thx,
>
> --
> Skip Montanaro - [EMAIL PROTECTED] - http://smontanaro.dyndns.org/
> _______________________________________________
> Pythonmac-SIG maillist - [email protected]
> http://mail.python.org/mailman/listinfo/pythonmac-sig
_______________________________________________
Pythonmac-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig