Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Importing after reassigning sys.stdout fails on Python 3 #30
With an error like this:
The aim was to have a standard way to write bytes to stdout, but if stdout is reassigned to a StringIO, which expects unicode, it's not clear what we should do about that.