Message264450
tarfile.py: _FileInFile():
(near line 687)
b = self.fileobj.read(length)
if len(b) != length:
raise ReadError("unexpected end of data")
every read() API does not guarantee that it will read `length` bytes. So, if fileobj reads less than requestedm that is not an error (!)
In my case it was a pipe... |
|
Date |
User |
Action |
Args |
2016-04-28 21:44:42 | socketpair | set | recipients:
+ socketpair |
2016-04-28 21:44:42 | socketpair | set | messageid: <1461879882.57.0.719679075431.issue26877@psf.upfronthosting.co.za> |
2016-04-28 21:44:42 | socketpair | link | issue26877 messages |
2016-04-28 21:44:42 | socketpair | create | |
|