[issue21191] os.fdopen() may eat file descriptor and still raise exception

Dima Tisnek report at bugs.python.org
Tue Apr 15 11:34:17 CEST 2014


Dima Tisnek added the comment:

Banjamin, Your patch looks good to me!

I have a small concern regarding "We now know we will succeed..." -- should there be a test case to make sure fstat test here matches whatever test is/was done on a lower level?

Or is your code now such that it will explicitly succeed because it doesn't call anything that can fail after the comment?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21191>
_______________________________________


More information about the Python-bugs-list mailing list