-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap stdout/stderr to avoid "Not enough space" in Python 2 on Windows 7
When you set the standard streams to binary you seem to only be able to write up to some limit in a single call to write. So we wrap the streams and write in chunks to avoid this. A similar hack was also implemented in Python 3 to work around this. But that hack doesn't seem to exist in Python 2. This might have unintended side effects due to replacing the standard stream objects. Fixes #825
- Loading branch information
1 parent
9bd66b3
commit 7a5b8c8
Showing
2 changed files
with
33 additions
and
0 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
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