> On 12/06/2017, Nick Coghlan <ncogh...@gmail.com> wrote: >> >> `PYTHONIOENCODING=:strict` remains the preferred way of forcing strict >> encoding checks on the standard streams, regardless of locale. > > Then the user of my script has to care that it's written in Python and > set that specifically in their crontab or so on... >
That's why I think https://bugs.python.org/issue15216 should be fixed in Python 3.7 too. Python should have one preferable way to specify encoding and error handler from inside of the program, not from envvar or command line argument. Regards, _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com