[Twisted-Python] Re: OS X and setup.py

Bob Ippolito bob at redivi.com
Tue Oct 15 08:28:08 EDT 2002


On Tuesday, Oct 15, 2002, at 05:12 America/New_York, Michael Hudson 
wrote:

> Bob Ippolito <bob at redivi.com> writes:
>
>> On Monday, October 14, 2002, at 07:12 AM, Michael Hudson wrote:
>>
>>> Andrew Bennetts <andrew-twisted at puzzling.org> writes:
>>>
>>>> On Sun, Oct 13, 2002 at 02:08:37PM +1000, Andrew Bennetts wrote:
>>>>> This part of setup.py is breaking build_ext on OS X (which doesn't
>>>>> have
>>>>> poll):
>>>>
>>>> My OS X informant also says:
>>>> <Screwtape> Better test it on another OS X system, too.
>>>> <Screwtape> This one might be a little damaged.
>>>> <Screwtape> (i.e. it has a manpage for poll(), but no header file)
>>>
>>> I think fink installs some kind of poll() emulation library, which 
>>> can
>>> cause confusion.
>>>
>>
>> That's exactly correct.  OS X has never shipped with poll() or the
>> associated manpages.  I believe the one they use is here:
>> http://www.clapper.org/software/poll/
>
> And, of course, the aggravating thing is that because it's only an
> emulation you don't actually get any of the performance benefits of
> using poll(), and in fact probably lose out through overheads.
>

Yes, but it's still probably not much slower than using select from 
python.. afaik, poll() is only used in twisted by creactor, which isn't 
really used at all.

>> I use vim, so I don't need fink :)
>
> I built Emacs from CVS yesterday, so now I can start de-finking my
> machine :)





More information about the Twisted-Python mailing list