Message192118
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'] |
|
Date |
User |
Action |
Args |
2013-07-01 09:41:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, doerwalter, belopolsky, vstinner, ezio.melotti, r.david.murray, wpk |
2013-07-01 09:41:45 | serhiy.storchaka | set | messageid: <1372671705.17.0.352058948202.issue18291@psf.upfronthosting.co.za> |
2013-07-01 09:41:45 | serhiy.storchaka | link | issue18291 messages |
2013-07-01 09:41:44 | serhiy.storchaka | create | |
|