This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Matthew.Boehm, vstinner
Date 2011-08-29.21:55:56
SpamBayes Score 0.00326659
Marked as misclassified No
Message-id <1314654957.28.0.590281526603.issue12855@psf.upfronthosting.co.za>
In-reply-to
Content
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']
History
Date User Action Args
2011-08-29 21:55:57vstinnersetrecipients: + vstinner, Matthew.Boehm
2011-08-29 21:55:57vstinnersetmessageid: <1314654957.28.0.590281526603.issue12855@psf.upfronthosting.co.za>
2011-08-29 21:55:56vstinnerlinkissue12855 messages
2011-08-29 21:55:56vstinnercreate