This old answer from 2012 at sys.stdout not reassigning to sys.__stdout__ (now deleted, thanks to the meta-effect)
- starts by "It worked for me:"
- in the middle, the exact code OP posted
- ends by "What OS are you using?"
It doesn't answer the question like never, has 0 upvotes. So I flagged it as "not an answer" (cleaning old site questions never hurts), and the flag was disputed (4 people out of 5 found it OK!)
It should be a comment at best (like, you may have made a typo or typed your code on a ZX81, so it doesn't work for you but without reason), useful in that case.
Is that because answerer has a high rep (now)? Roboviewing at its worst?