[issue31966] [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

STINNER Victor report at bugs.python.org
Tue Nov 7 09:43:02 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

The _io__WindowsConsoleIO_write_impl() function should be fixed to not call MultiByteToWideChar() but use 0 if the input string is zero. Ok, it makes sense.

In that case, I agree to call it a simple issue ;-)

----------
title: print('hello\n', end='', flush=True) raises OSError when ran with py -u -> [EASY C][Windows] print('hello\n', end='', flush=True) raises OSError when ran with py -u

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31966>
_______________________________________


More information about the Python-bugs-list mailing list