Message225758
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. |
|
Date |
User |
Action |
Args |
2014-08-23 19:25:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, terry.reedy, vstinner, ezio.melotti, r.david.murray, scharron |
2014-08-23 19:25:20 | serhiy.storchaka | link | issue22232 messages |
2014-08-23 19:25:20 | serhiy.storchaka | create | |
|