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

Dima Tisnek report at bugs.python.org
Wed Apr 9 21:48:55 CEST 2014


Dima Tisnek added the comment:

I don't like proposed patch -- it changes semantics of more (?) common failure modes.

I think it's best to keep semantics in line with Python 3.3 -- if fdopen fails, it leaves file descriptor alone.

----------

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


More information about the Python-bugs-list mailing list