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, dontknow, georg.brandl, ncoghlan
Date 2012-01-30.21:02:58
SpamBayes Score 1.7102109e-10
Marked as misclassified No
Message-id <1327957383.54.0.360942395872.issue13857@psf.upfronthosting.co.za>
In-reply-to
Content
Please go ahead!

And Georg is right - the short spelling doesn't handle the first line correctly. It also suffers from the "trailing whitespace" problem that Amaury pointed out in my original version.

The tests for the new function should check both those cases (i.e. don't indent blank lines, ensure the first line is correctly indented).
History
Date User Action Args
2012-01-30 21:03:03ncoghlansetrecipients: + ncoghlan, georg.brandl, amaury.forgeotdarc, dontknow, brandjon
2012-01-30 21:03:03ncoghlansetmessageid: <1327957383.54.0.360942395872.issue13857@psf.upfronthosting.co.za>
2012-01-30 21:02:59ncoghlanlinkissue13857 messages
2012-01-30 21:02:58ncoghlancreate