Message162913
> > 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()? |
|
Date |
User |
Action |
Args |
2012-06-15 15:46:52 | pitrou | set | recipients:
+ pitrou, jaraco, Arfrever, r.david.murray, docs@python, zach.ware, serhiy.storchaka, jgeralnik |
2012-06-15 15:46:51 | pitrou | link | issue15068 messages |
2012-06-15 15:46:51 | pitrou | create | |
|