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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120619/5d253ff0/attachment.html>