This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author draghuram
Recipients
Date 2007-01-22.16:34:48
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content

I am not entirely sure that this is a bug.

$ cat testfile
line1
line2

$ python foo.py < testfile

This command behaves as expected. Only when the input is from tty, the above described behaviour happens. That could be because of the terminal settings where characters may be buffered until a newline is entered.

History
Date User Action Args
2007-08-23 14:51:15adminlinkissue1633941 messages
2007-08-23 14:51:15admincreate