[issue30544] _io._WindowsConsoleIO.write raises the wrong error when WriteConsoleW fails
Segev Finer
report at bugs.python.org
Fri Jun 2 05:14:16 EDT 2017
Segev Finer added the comment:
We might want to open a separate issue for the FD redirection issue since this one was really about the _io._WindowsConsoleIO.write GetLastError() issue.
Also see https://github.com/pytest-dev/pytest/pull/2462 where I discuss this more.
Still not sure why it's random in Pytest. I can only guess it's due to another console handle getting opened with the same number or something.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30544>
_______________________________________
More information about the Python-bugs-list
mailing list