Possible fix to silently skipping EIO and the like? #748

This commit is contained in:
Marian Beermann 2016-03-14 20:25:30 +01:00 committed by Thomas Waldmann
parent cd6044e85c
commit 4bc27690af
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ chunker_fill(Chunker *c)
}
else {
// some error happened
PyErr_SetFromErrno(PyExc_OSError);
return 0;
}
length = c->bytes_read - offset;