For me, on OS X, Tobias his script tells me I seem to have PTY support.

Jonathans-MacBook-Pro:~ jonathan$ python /tmp/test_pty.py 

[]
kqueue seems to support PTY

Jonathans-MacBook-Pro:~ jonathan$ python -V
Python 2.7.5

Jonathans-MacBook-Pro:~ jonathan$ sw_vers -productVersion
10.9

Jonathans-MacBook-Pro:~ jonathan$ uname -a
Darwin Jonathans-MacBook-Pro.local 13.0.0 Darwin Kernel Version 13.0.0: Thu 
Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64





Le lundi 13 janvier 2014 23:02:45 UTC+1, Guido van Rossum a écrit :
>
> $ 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] <javascript:>> 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