def _read_stdin():
line = sys.stdin.readline()<EOL>while line:<EOL><INDENT>yield line<EOL>line = sys.stdin.readline()<EOL><DEDENT>
Generator for reading from standard input in nonblocking mode.

Other ways of reading from ``stdin`` in python waits, until the buffer is
big enough, or until EOF character is sent.

This functions yields immediately after each line.