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 tim.peters
Recipients kleshni, tim.peters
Date 2020-05-03.17:06:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588525601.61.0.587377234013.issue40480@roundup.psfhosted.org>
In-reply-to
Content
Note that doctest has the same kind of potential problem with matching ellipsis (0 or more characters) in expected output blocks.  Backtracking isn't needed at all to resolve patterns of that limited kind, but I don't think Python's re module supports enough gimmicks to disable backtracking.

So instead doctest has its own

_ellipsis_match()

function to do it in worst-case linear time.
History
Date User Action Args
2020-05-03 17:06:41tim.peterssetrecipients: + tim.peters, kleshni
2020-05-03 17:06:41tim.peterssetmessageid: <1588525601.61.0.587377234013.issue40480@roundup.psfhosted.org>
2020-05-03 17:06:41tim.peterslinkissue40480 messages
2020-05-03 17:06:41tim.peterscreate