Benjamin Peterson added the comment: On Wed, Apr 9, 2014, at 13:18, Dima Tisnek wrote: > > Dima Tisnek added the comment: > > Good point. > > Personally I think it's more pythonic to consume fd only on success. I > accept that's just an opinion. > > In any case, let's keep error semantics in py2.7 and py3.3 same.
Unfortunately, it's not easy to implement with the 2.7 implementation of the file type. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21191> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com