News for hackers. Stuff that matters.
Re:The Fundamental Problem in Python 3 by oefrha on Friday December 20, 2019 @02:47AM (#21842364)
Yeah, I recall doing

  import codecs

  sys.stdout = codecs.getwriter('utf-8')(sys.stdout)
  sys.stderr = codecs.getwriter('utf-8')(sys.stderr)
to fix Unicode woes in Python 2, which opened another can of worms. Not fun.

There are no comments on this comment yet.