Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Feature or enhancement
TextIOWrapper.__init__() supportsencoding="locale" option.
ButTextIOWrapper.reconfigure() doesn't support it yet.
Pitch
Scenario:
Users may setPYTHONUTF8=1 enviroment variable but want to use locale encoding for stdin/stdout.
They may want to dosys.stdout.reconfigure(encoding="locale").