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 philwebster
Recipients JayKrish, Todd.Rovito, philwebster, roger.serwy, terry.reedy
Date 2013-07-25.05:16:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374729392.55.0.0678829076788.issue18226@psf.upfronthosting.co.za>
In-reply-to
Content
This patch moves the comment_header code to reformat_comment, adds tests for reformat_comment, and implements the fix that Todd mentioned in #18429. In addition, I changed the get_comment_header and get_indent regular expressions to only look for spaces and tabs, rather than any whitespace ('\s'). These functions should only ever get single lines, but I don't think characters like newline would ever need to be part of the comment header.
History
Date User Action Args
2013-07-25 05:16:32philwebstersetrecipients: + philwebster, terry.reedy, roger.serwy, Todd.Rovito, JayKrish
2013-07-25 05:16:32philwebstersetmessageid: <1374729392.55.0.0678829076788.issue18226@psf.upfronthosting.co.za>
2013-07-25 05:16:32philwebsterlinkissue18226 messages
2013-07-25 05:16:32philwebstercreate