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 serhiy.storchaka
Recipients belopolsky, doerwalter, ezio.melotti, lemburg, r.david.murray, serhiy.storchaka, vstinner, wpk
Date 2013-07-01.09:41:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372671705.17.0.352058948202.issue18291@psf.upfronthosting.co.za>
In-reply-to
Content
In contrary to documentation str.splitlines() splits lines not only on '\n', '\r\n' and '\r'.

>>> 'a'.join(chr(i) for i in range(32)).splitlines(True)
['\x00a\x01a\x02a\x03a\x04a\x05a\x06a\x07a\x08a\ta\n', 'a\x0b', 'a\x0c', 'a\r', 'a\x0ea\x0fa\x10a\x11a\x12a\x13a\x14a\x15a\x16a\x17a\x18a\x19a\x1aa\x1ba\x1c', 'a\x1d', 'a\x1e', 'a\x1f']
History
Date User Action Args
2013-07-01 09:41:45serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, doerwalter, belopolsky, vstinner, ezio.melotti, r.david.murray, wpk
2013-07-01 09:41:45serhiy.storchakasetmessageid: <1372671705.17.0.352058948202.issue18291@psf.upfronthosting.co.za>
2013-07-01 09:41:45serhiy.storchakalinkissue18291 messages
2013-07-01 09:41:44serhiy.storchakacreate