]> granicus.if.org Git - python/commit
bpo-30109: Fix reindent.py for non-ASCII files. (#5637)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 12 Feb 2018 18:16:42 +0000 (20:16 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 18:16:42 +0000 (20:16 +0200)
commit17cec70a38b297779b8fd3f081fb041d45ae1dff
treee3545c6f1e41d358d42d30f9fecd53658697478d
parent40290647167d96752b924ff109cc527aca729872
bpo-30109: Fix reindent.py for non-ASCII files. (#5637)

It now processes files as binary streams.

This also fixes "make reindent".
Lib/email/utils.py
Misc/NEWS.d/next/Tools-Demos/2018-02-12-14-27-01.bpo-30109.lIYlaf.rst [new file with mode: 0644]
Tools/scripts/reindent.py