Message225758
| 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. |
|