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 chris.jerdonek
Recipients amaury.forgeotdarc, brandjon, chris.jerdonek, dontknow, elsdoerfer, ezberch, georg.brandl, ncoghlan, r.david.murray, rutsky
Date 2012-05-29.14:51:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338303115.54.0.533215784707.issue13857@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps because that's what str.split() does:

>>> "a\nb".split("\n")
['a', 'b']
>>> "a\nb\n".split("\n")
['a', 'b', '']
>>> "a\nb\n\n".split("\n")
['a', 'b', '', '']
History
Date User Action Args
2012-05-29 14:51:55chris.jerdoneksetrecipients: + chris.jerdonek, georg.brandl, amaury.forgeotdarc, ncoghlan, r.david.murray, elsdoerfer, rutsky, dontknow, brandjon, ezberch
2012-05-29 14:51:55chris.jerdoneksetmessageid: <1338303115.54.0.533215784707.issue13857@psf.upfronthosting.co.za>
2012-05-29 14:51:54chris.jerdoneklinkissue13857 messages
2012-05-29 14:51:54chris.jerdonekcreate