Message248201
splitlines(keepends=True) is not ever equivalent to splitting by just '\n'. I don't know the details here, but switching to that would certainly be a behavior change. (Especially if the code path also applies to non-binary data!):
>>> b'abc\nde\r\nf\x1dg'.splitlines(True)
[b'abc\n', b'de\r\n', b'f\x1dg']
>>> 'abc\nde\r\nf\x1dg'.splitlines(True)
['abc\n', 'de\r\n', 'f\x1d', 'g'] |
|
Date |
User |
Action |
Args |
2015-08-07 15:50:43 | r.david.murray | set | recipients:
+ r.david.murray, jcea, rbcollins, a.badger, michael.foord, python-dev, berker.peksag, Aaron1011 |
2015-08-07 15:50:42 | r.david.murray | set | messageid: <1438962642.99.0.554230738208.issue23004@psf.upfronthosting.co.za> |
2015-08-07 15:50:42 | r.david.murray | link | issue23004 messages |
2015-08-07 15:50:42 | r.david.murray | create | |
|