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 amaury.forgeotdarc, brandjon, chris.jerdonek, dontknow, elsdoerfer, ezberch, georg.brandl, ncoghlan, r.david.murray, rutsky
Date 2012-05-29.14:21:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338301289.91.0.408353362369.issue13857@psf.upfronthosting.co.za>
In-reply-to
Content
Why would you expect it to?

>>> 'a\nb'.splitlines()
['a', 'b']
>>> 'a\nb\n'.splitlines()
['a', 'b']
>>> 'a\nb\n\n'.splitlines()
['a', 'b', '']

That's exactly what I would intuitively expect, and I don't see how it could possibly do anything else.
History
Date User Action Args
2012-05-29 14:21:29r.david.murraysetrecipients: + r.david.murray, georg.brandl, amaury.forgeotdarc, ncoghlan, chris.jerdonek, elsdoerfer, rutsky, dontknow, brandjon, ezberch
2012-05-29 14:21:29r.david.murraysetmessageid: <1338301289.91.0.408353362369.issue13857@psf.upfronthosting.co.za>
2012-05-29 14:21:29r.david.murraylinkissue13857 messages
2012-05-29 14:21:29r.david.murraycreate