Eryk Sun <eryk...@gmail.com> added the comment:
Hanging on a synchronous console file during startup shouldn't be an issue in 3.6+, since io._WindowsConsoleIO doesn't support seeking, but it could still be an issue with legacy mode, which uses io.FileIO. I'm marking this as a duplicate of bpo-34780, which has more information. It's basically the same problem that seeking should only be supported for files opened for physical disks, volumes, and regular data files in mounted filesystems -- for which its meaningful, useful, and not vulnerable to hanging indefinitely if the file is blocked on a synchronous I/O request (e.g. a read request from a pipe or console input, which might never complete). ---------- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> [Windows] Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26882> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com