-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fabric-Sync] Do not use stdout with non-blocking asyncio (#35446)
Wrapping stdout with StreamWriter leads to setting stdout stream to non-blocking. In consequence that parent process and all child processes have stdio in non-blocking mode, which is not a standard setup. This leads to random failures (e.g. Python's print might trow BlockinIOError exception).
- Loading branch information
Showing
1 changed file
with
23 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters