Commit Graph

1 Commits (ca918def18b38063d7dc5a7c89a9bd7099c9cf10)

Author SHA1 Message Date
Sam Doran 8b1ae30e2e
Use bytes rather than native string for result (#46281)
This prevents a stack trace in Python 3 when the result is an empty file since
the file is open in binary mode and a native string in Python 3 is str,
not bytes.
6 years ago