[issue34780] [Windows] Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows

2021-03-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34780] [Windows] Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows

2021-03-12 Thread Eryk Sun
Eryk Sun added the comment: If non-disk files are made non-seekable in Windows, this will also resolve bpo-42602. -- ___ Python tracker ___

[issue34780] [Windows] Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows

2021-03-12 Thread Eryk Sun
Eryk Sun added the comment: Console input handles pose the same risk of hanging indefinitely when io.FileIO is used in legacy standard I/O mode (i.e. PYTHONLEGACYWINDOWSSTDIO). Seeking could simply be disallowed on all files that aren't FILE_TYPE_DISK. For example, change portable_lseek()

[issue34780] [Windows] Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows

2020-01-19 Thread STINNER Victor
Change by STINNER Victor : -- title: Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows -> [Windows] Hang on startup if stdin refers to a pipe with an outstanding concurrent operation on Windows ___