def _stdin_ready_posix():
 (infds, outfds, erfds) = select.select([sys.stdin], [], [], 0)
 return bool(infds)

def _stdin_ready_posix ( ) : ( infds , outfds , erfds ) = select . select ( [ sys . stdin ] , [ ] , [ ] , 0 ) return bool ( infds )
return true if theres something to read on stdin .