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 r.david.murray
Recipients benjamin.peterson, docs@python, pitrou, r.david.murray
Date 2011-02-24.02:45:03
SpamBayes Score 2.4432675e-08
Marked as misclassified No
Message-id <1298515504.28.0.984800250555.issue11305@psf.upfronthosting.co.za>
In-reply-to
Content
"newline controls how universal newlines works (it only applies to text mode). It can be None, '', '\n', '\r', and '\r\n'..."

Whereas splitlines says:

"Return a list of the lines in the string, breaking at line boundaries."

So if we are fixing docs, we need to add that "line boundaries" are based on the relevant unicode properties (see issue 7643).

And, indeed, Antoine has already pronounced on this in issue 6664.

Since this has come up more than once, adding a note that they are not recognized by design in the io module to the io docs might be a good idea.
History
Date User Action Args
2011-02-24 02:45:04r.david.murraysetrecipients: + r.david.murray, pitrou, benjamin.peterson, docs@python
2011-02-24 02:45:04r.david.murraysetmessageid: <1298515504.28.0.984800250555.issue11305@psf.upfronthosting.co.za>
2011-02-24 02:45:03r.david.murraylinkissue11305 messages
2011-02-24 02:45:03r.david.murraycreate