diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-01-21 01:29:25 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-01-21 01:29:25 -0800 |
commit | 3de36cf522da6e8fdb102fb1169465cbbabb3df4 (patch) | |
tree | f19c918569df386af8354c3053b8a20f486eb3ed /README.md | |
parent | 3792aa38235a273f449d25c4fe813de01bce3093 (diff) | |
download | mc-3de36cf522da6e8fdb102fb1169465cbbabb3df4.tar.gz |
bio.read(f, [][:]) should succeed without Eof.
A read of 0 could be from two cases: EOF, or a zero byte
length request. Since a zero byte length request can always
be satisifed, it probably shouldn't be an EOF. Especially
since this sort of request can show up in the middle of a
file.
Yes, this is a bit strange to me too, but it seems the
most consistent.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions