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 <rep...@bugs.python.org> <http://bugs.python.org/issue30544> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com