[issue24904] Patch: add timeout to difflib SequenceMatcher ratio() and quick_ratio()

Robert Collins report at bugs.python.org
Fri Aug 21 01:08:06 CEST 2015


Robert Collins added the comment:

So - I'm with Victor and Raymond here. I think modifying difflib to provide external control over the poor-O components would permit many more benefits than just controlling time: you could wrap them in a timer module to get what this patch does, you could replace them with alternative implementations (e.g. parallel ones).

----------
nosy: +rbcollins

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


More information about the Python-bugs-list mailing list