[issue21253] Difflib.compare() crashes on mostly different sequences

Terry J. Reedy report at bugs.python.org
Fri Apr 18 23:38:51 CEST 2014


Terry J. Reedy added the comment:

An obvious fix for the recursion limit error is to convert the .compare recursion to iteration with a stack (which I could try to do), but I don't know if the deep recursion is expected in this case, or is a bug. Tim?

----------
nosy: +terry.reedy, tim.peters
title: Difflib.compare() crashes when sequences contain little or no common elements -> Difflib.compare() crashes on mostly different sequences

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21253>
_______________________________________


More information about the Python-bugs-list mailing list