[issue10117] Tools/scripts/reindent.py fails on non-UTF-8 encodings

Serhiy Storchaka report at bugs.python.org
Sun Apr 22 07:15:28 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I concur with Éric. Standard input and output are text streams in Python 3. The user can control their encoding by setting locale or PYTHONIOENCODING.

I think this issue can be closed now unless somebody want to backport the fix to 2.7.

----------
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue10117>
_______________________________________


More information about the Python-bugs-list mailing list