Message264479
well, I don't use "r|" (but will, thanks for suggestion)
In any case, assuming that read() returns exact length is wrong. There is .readexactly() (f.e. in asyncio I mean). Or, one should use simple loop to call .read() multiple times.
Reading from plain file does not guarantee, that read() syscall will return requested count of bytes even when these bytes are available. |
|
Date |
User |
Action |
Args |
2016-04-29 09:15:57 | socketpair | set | recipients:
+ socketpair, lars.gustaebel, martin.panter |
2016-04-29 09:15:57 | socketpair | set | messageid: <1461921357.82.0.388469596865.issue26877@psf.upfronthosting.co.za> |
2016-04-29 09:15:57 | socketpair | link | issue26877 messages |
2016-04-29 09:15:57 | socketpair | create | |
|