Message230138
Looks like str.splitlines is using STRINGLIB_ISLINEBREAK which in turn uses Py_UNICODE_ISLINEBREAK, so the behavior should be correct. If splitting on \n, \r, and \r\n only is common enough with might add a bool arg to splitlines to restrict the splitting on those 3 only, but I can't think about any good name for such arg. |
|
Date |
User |
Action |
Args |
2014-10-28 11:03:27 | ezio.melotti | set | recipients:
+ ezio.melotti, barry, terry.reedy, vstinner, r.david.murray, docs@python, python-dev, serhiy.storchaka, scharron |
2014-10-28 11:03:26 | ezio.melotti | set | messageid: <1414494206.96.0.777242154444.issue22232@psf.upfronthosting.co.za> |
2014-10-28 11:03:26 | ezio.melotti | link | issue22232 messages |
2014-10-28 11:03:26 | ezio.melotti | create | |
|