This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Mariatta, cheryl.sabella, corona10, serhiy.storchaka
Date 2018-02-12.12:14:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518437691.64.0.467229070634.issue30109@psf.upfronthosting.co.za>
In-reply-to
Content
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 bytes.

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 Lib/email/utils.py.
History
Date User Action Args
2018-02-12 12:14:51serhiy.storchakasetrecipients: + serhiy.storchaka, Mariatta, cheryl.sabella, corona10
2018-02-12 12:14:51serhiy.storchakasetmessageid: <1518437691.64.0.467229070634.issue30109@psf.upfronthosting.co.za>
2018-02-12 12:14:51serhiy.storchakalinkissue30109 messages
2018-02-12 12:14:51serhiy.storchakacreate