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 ncoghlan
Recipients amaury.forgeotdarc, brandjon, chris.jerdonek, dontknow, elsdoerfer, ezberch, georg.brandl, ncoghlan, r.david.murray, rutsky
Date 2012-05-29.22:37:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338331034.55.0.864048784575.issue13857@psf.upfronthosting.co.za>
In-reply-to
Content
I created #14957 to cover improving the str.splitlines docs.

For this patch, I think Chris is right that it should be using str.splitlines(True) and joining on "''" instead of "'\n'" so that Windows line endings get preserved.
History
Date User Action Args
2012-05-29 22:37:14ncoghlansetrecipients: + ncoghlan, georg.brandl, amaury.forgeotdarc, r.david.murray, chris.jerdonek, elsdoerfer, rutsky, dontknow, brandjon, ezberch
2012-05-29 22:37:14ncoghlansetmessageid: <1338331034.55.0.864048784575.issue13857@psf.upfronthosting.co.za>
2012-05-29 22:37:14ncoghlanlinkissue13857 messages
2012-05-29 22:37:13ncoghlancreate