Terry J. Reedy added the comment:

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.

----------
Added file: http://bugs.python.org/file35640/hyperparser_update.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21686>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to