Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
2.7 needs different solution.
The side effect of issue10639 in 2.7 was changing input and output files for
the reindenter to Unicode files. This was not correct. Standard streams
stdin/stdout in 2.7 are binary files, and the tokenizer needs the stream of
The proposed PR makes input and output files for the reindenter binary files
again, and implements detecting line separators for issue10639.
After fixing Tools/scripts/reindent.py running `make reindent` fixed
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list