I'm still confused, because those tests pass with kqueue for me. Is this perhaps a new development in OS X?
On Mon, Jan 13, 2014 at 8:12 AM, Victor Stinner <[email protected]> wrote: > Hi, > > I search on the WWW for info about kqueue() and PTY: on Mac OS X, nor > kqueue() nor poll() support PTY or /dev/null, but select() does. > > There are 3 options: > > * just skip the test and document that you must explicitly use the > select selector on OSX to watch devices (is it possible to choose > explicitly the selector in asyncio?) > * switch from kqueue/poll to select when a device is added > * use a custom watcher to workaround the limitation, Saúl Ibarra > Corretgé wrote "libuv we fallback to using select() in a thread for > special fds on OSX" > https://github.com/joyent/libuv/blob/master/src/unix/stream.c#L290 > > What do you think? > > Victor -- --Guido van Rossum (python.org/~guido)
