Author serhiy.storchaka
Recipients barry, jader.fabiano, r.david.murray, rhettinger, serhiy.storchaka, tshepang
Date 2014-08-03.12:56:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407070590.7.0.898342025139.issue21448@psf.upfronthosting.co.za>
In-reply-to
Content
fix_email_parse2.diff slightly changes behavior. See my comments on Rietveld.

As for fix_prepending2.diff, could you please provide any benchmark results?

And there is yet one bug in current code. str.splitlines() splits a string not only breaking it at '\r', '\n' or '\r\n', but at any Unicode line break character (e.g. '\x85', '\u2028', etc). And when a chunk ends with such line break character, it will not break a line. Definitely something should fixed: either lines should be broken only at '\r', '\n' or '\r\n', or other line break characters should be handled correctly when they happen at the end of the chunk. What would you say about this, David?
History
Date User Action Args
2014-08-03 12:56:30serhiy.storchakasetrecipients: + serhiy.storchaka, barry, rhettinger, r.david.murray, tshepang, jader.fabiano
2014-08-03 12:56:30serhiy.storchakasetmessageid: <1407070590.7.0.898342025139.issue21448@psf.upfronthosting.co.za>
2014-08-03 12:56:30serhiy.storchakalinkissue21448 messages
2014-08-03 12:56:30serhiy.storchakacreate