$ python oberstein.py
[<select.kevent ident=0 filter=-1 flags=0x4000 fflags=0x0 data=0x22 udata=0x0>]
kqueue has no support for PTY
$

I am immersed in the PEP 460 debate, not sure when I'll have time to
investigate more thoroughly why the PTY tests don't fail for me.


On Mon, Jan 13, 2014 at 1:17 PM, Tobias Oberstein
<[email protected]> wrote:
>>> Expected. FWIW, see http://twistedmatrix.com/trac/ticket/5458
>>>>
>>>> Maybe devices are supported in newer Mac OS versions?
>>>
>>> Maybe. I haven't found/heard anything in that direction though.
>>
>> But how *else* would you explain that the PTY tests pass for me on my
>> 64-bit MacBook Air running OS X 10.8.5?
>
>
> Yes, it seems to be the most likely explanation (that Apple indeed did
> something to kqueue/PTY on newer OSX versions).
>
> I once wrote a test:
>
> https://github.com/oberstet/txkqreactor/blob/master/test/test_pty.py
>
> I don't have a recent OSX system. Would be interesting what above test
> outputs on your system ..
>
> /Tobias



-- 
--Guido van Rossum (python.org/~guido)

Reply via email to