StackStorm/fabric — pull request #1 by lakshmi-kannan (2014-07-24 22:00:04+00:00)
Title: Patch input_loop not to use select

Stanley uses eventlets and monkey patches select. sys.stdin is a
blocking filesystem file descriptor in stdlib. Eventlet select
requires all sockets to be non-blocking (due to their dependency
on epoll). So instead of using select to monitor sys.stdin we use
the blocking call sys.stdin.read(1). Since sys.stdin is consumed
in a thread in fabric, this is just fine.