Message192118
| 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'] |
|