Message367983
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. |
|
Date |
User |
Action |
Args |
2020-05-03 17:06:41 | tim.peters | set | recipients:
+ tim.peters, kleshni |
2020-05-03 17:06:41 | tim.peters | set | messageid: <1588525601.61.0.587377234013.issue40480@roundup.psfhosted.org> |
2020-05-03 17:06:41 | tim.peters | link | issue40480 messages |
2020-05-03 17:06:41 | tim.peters | create | |
|