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 terry.reedy
Recipients Alexey Burdin, taleinat, terry.reedy
Date 2020-07-25.03:16:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595646964.81.0.733522048821.issue41388@roundup.psfhosted.org>
In-reply-to
Content
Without rereading hyperparser and pyparse, I don't understand why a previous _synchre match prevents subsequent failures.  It does suggest that when matching parentheses, a fix would be to temporarily prepend 'else\n' to the text, or otherwise simulating the effect of that.

But the previous 'else' might only work before the 'current' statement.  And we should determine whether any other uses of these modules have related bugs.  Also, removing 'else' from the _synchre regex did not fix the issue, so there is something else I am missing.
History
Date User Action Args
2020-07-25 03:16:04terry.reedysetrecipients: + terry.reedy, taleinat, Alexey Burdin
2020-07-25 03:16:04terry.reedysetmessageid: <1595646964.81.0.733522048821.issue41388@roundup.psfhosted.org>
2020-07-25 03:16:04terry.reedylinkissue41388 messages
2020-07-25 03:16:04terry.reedycreate