Message143185
U+000C (Form feed) is considered as a line boundary in Unicode (unicode type), but no for a byte string (str type).
Example:
>>> u'line \x0cone\nline two\n'.splitlines(True)
[u'line \x0c', u'one\n', u'line two\n']
>>> 'line \x0cone\nline two\n'.splitlines(True)
['line \x0cone\n', 'line two\n'] |
|
Date |
User |
Action |
Args |
2011-08-29 21:55:57 | vstinner | set | recipients:
+ vstinner, Matthew.Boehm |
2011-08-29 21:55:57 | vstinner | set | messageid: <1314654957.28.0.590281526603.issue12855@psf.upfronthosting.co.za> |
2011-08-29 21:55:56 | vstinner | link | issue12855 messages |
2011-08-29 21:55:56 | vstinner | create | |
|