Antoine Pitrou <pit...@free.fr> added the comment: > > so the readlines function should always return at least as many bytes as > > its first parameter. Is this assumption wrong? > > qwert > 'qwert\n' > > You type five characters "qwert" end press <Enter>. Python immediately > receives these six characters, and returns a result of > sys.stdin.readline(1000).
Well, did you try readline() or readlines()? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15068> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com