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 barry, ezio.melotti, r.david.murray, scharron, serhiy.storchaka, terry.reedy, vstinner
Date 2014-08-23.19:25:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <3895007.UnE7a34MjL@raxxla>
In-reply-to <1408818284.93.0.288576570276.issue22232@psf.upfronthosting.co.za>
Content
I don't understand why you say about latin-1. splitlines() supports linebreaks outside latin-1 range.

>>> [hex(i) for i in range(sys.maxunicode + 1) if len(('%cx' % i).splitlines()) == 2]
['0xa', '0xb', '0xc', '0xd', '0x1c', '0x1d', '0x1e', '0x85', '0x2028', '0x2029']

"newlines" and "linebreak" don't look good to me. And it is not obvious why true or false value corresponds to one or another variant.
History
Date User Action Args
2014-08-23 19:25:20serhiy.storchakasetrecipients: + serhiy.storchaka, barry, terry.reedy, vstinner, ezio.melotti, r.david.murray, scharron
2014-08-23 19:25:20serhiy.storchakalinkissue22232 messages
2014-08-23 19:25:20serhiy.storchakacreate