On Mon, Jan 13, 2014 at 10:25 AM, Tobias Oberstein <[email protected]> wrote: > Am 13.01.2014 18:46, schrieb Victor Stinner: > >> The test fails on my Mac OS 10.6 (Snow Leopard). >> > > 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? I'm happy to do something like skip those tests based on feature detection (does kqueue support PTYs on this box). If someone really wants to use PTYs on affected OS X boxes they can start by forcing the affected apps to use the select selector -- a select-based work-around in the kqueue selector sounds messy, although if someone is motivated enough to contribute a patch I will take it. -- --Guido van Rossum (python.org/~guido)
