Message 160940 - Python tracker (original) (raw)
initializing the standard streams imports Lib/locale.py
It looks like only locale.getpreferredencoding() is needed to initialize standard streams. Another option is to add a locale encoding codec. I already proposed the idea in #13619 but it was rejected.