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 niemeyer
Date 2003-04-22.20:05:51
SpamBayes Score
Marked as misclassified
Logged In: YES 

Hummm.. interesting. Indeed, we could use two different
strategies. We could either restore marks whenever failling,
so that backtrackings don't have to worry about that (it
knows it was restored if the recursion failed), or use your
approach and protect only when *not* failling. While I was
thinking about the first one, the later (your suggestion)
seems more logic, and fast.

Either way, we clearly have a mix of both today (for
example, we have no mark protection in OP_REPEAT), and
that's not very smart. I'll study that code further, to make
sure that we're really on the right track, and also check
your bugs.

Thank you very much for explaining and discussing.
Date User Action Args
2007-08-23 15:21:50adminlinkissue712900 messages
2007-08-23 15:21:50admincreate