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 ezio.melotti
Recipients barry, docs@python, ezio.melotti, python-dev, r.david.murray, scharron, serhiy.storchaka, terry.reedy, vstinner
Date 2014-10-28.11:03:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414494206.96.0.777242154444.issue22232@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-10-28 11:03:27ezio.melottisetrecipients: + ezio.melotti, barry, terry.reedy, vstinner, r.david.murray, docs@python, python-dev, serhiy.storchaka, scharron
2014-10-28 11:03:26ezio.melottisetmessageid: <1414494206.96.0.777242154444.issue22232@psf.upfronthosting.co.za>
2014-10-28 11:03:26ezio.melottilinkissue22232 messages
2014-10-28 11:03:26ezio.melotticreate