Author terry.reedy
Recipients Saimadhav.Heblikar, jesstess, taleinat, terry.reedy
Date 2014-06-14.23:20:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402788017.24.0.572120942207.issue21686@psf.upfronthosting.co.za>
In-reply-to
Content
Since ParenMatch and fixes* to HyperParser depend on this issue, I would like to do this first. For HyperParser.py, I would like to first commit a clean-up only patch. The test_hyperparser patch should then only add the 'if __name__' clause at the end.

I would like to apply the attached tomorrow, pending comments. It
adds docstrings and properly formats them per PEP 8; reformats comment blocks, and properly wrap lines without '\', eliminating occurences already present.

The v1 tests continue to pass once 'before the analyzed' is changed in the test file to 'precedes'. 'Index' or 'statement' might be better targets. 

*After test_hyperparser.py is added, additional tests for #21756 (finding closers) and new #21765 -- making HyperParser work with non-ascii identifiers, will be added as part of any code fix patches.
History
Date User Action Args
2014-06-14 23:20:17terry.reedysetrecipients: + terry.reedy, taleinat, jesstess, Saimadhav.Heblikar
2014-06-14 23:20:17terry.reedysetmessageid: <1402788017.24.0.572120942207.issue21686@psf.upfronthosting.co.za>
2014-06-14 23:20:17terry.reedylinkissue21686 messages
2014-06-14 23:20:17terry.reedycreate