Paul Moore added the comment: Also, this is a Python 2 only issue. The problem doesn't happen in Python 3.6 (at least in my quick experiment). I'm not 100% sure if this is because the internal implementation of IO changed in 3.x, or if it's just because we're now using a newer CRT which has fixed the issue.
I agree that there's no point in Python trying to work around this behaviour. ---------- resolution: -> third party _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29817> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com