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

Benjamin Peterson report at bugs.python.org
Wed Apr 9 21:52:59 CEST 2014


Benjamin Peterson added the comment:

On Wed, Apr 9, 2014, at 12:48, Dima Tisnek wrote:
> 
> Dima Tisnek added the comment:
> 
> I don't like proposed patch -- it changes semantics of more (?) common
> failure modes.

I don't know if opening the file with the wrong mode is any more wrong
than opening a directory.

----------

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


More information about the Python-bugs-list mailing list