(original) (raw)

Hi,

I'm working on this bug to fix it. http://bugs.python.org/issue15068

>>> from sys import stdin
>>> str=stdin.read()
hello
hello world
CTRL+D
CTRL+D

Can anyone tell me where is stdin.read() function defined?
Or where is sys.stdin defined?
Or which function is called for str=stdin.read() ?

Thanks