Subprocess: fix stream handling #574
Labels
component:dep-sources
Dependency sources
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
#572 provides a temporary fix by doing codepoint substitution, but #573 demonstrates that our underlying poll/buffering technique is unsound: our buffering might split a unicode sequence, resulting in invalid encodings in an otherwise valid stream.
Rather than performing the poll-buffer loop ourselves, we should probably use
Popen.communicate()
.The text was updated successfully, but these errors were encountered: