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 r.david.murray
Recipients adder, r.david.murray
Date 2017-05-21.18:25:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1495391115.82.0.366024164386.issue30412@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not entirely sure why some of the conversions are done they way they are, but I do know that one goal is to make all of the line endings consistent, whatever may be the case on disk.  If you aren't modifing the mailbox, nothing should happen.  If you are, rewriting it to be consistent would seem to me to be the correct thing to do.

If you want to propose a patch that optionally guesses the line discipline of the input file and uses it on rewrite, we'll consider it, but I'm really not sure it is worth it unless it actually simplifies the existing code and/or makes it more consistent, while still meeting the existing behavior of handling mixed line endings in the input files.
History
Date User Action Args
2017-05-21 18:25:15r.david.murraysetrecipients: + r.david.murray, adder
2017-05-21 18:25:15r.david.murraysetmessageid: <1495391115.82.0.366024164386.issue30412@psf.upfronthosting.co.za>
2017-05-21 18:25:15r.david.murraylinkissue30412 messages
2017-05-21 18:25:15r.david.murraycreate