Eli Bendersky <eli...@gmail.com> added the comment:

Attaching a patch (developed jointly with Terry Reedy) for 2.7 that adds an 
'autojunk' parameter to SequenceMatcher's constructor. The parameter is True by 
default which retains the current behavior in 2.6 and earlier, but can be set 
by the user to False to disable the popularity heuristic. The patch also fixes 
some documentation inconsistencies that Terry raised in this message.

Notes:
1. Tests run successfully. Added new test class in test_difflib for testing 
with the new autojunk parameter False
2. Patch generated vs. Hg mirror

----------
Added file: http://bugs.python.org/file18719/issue2986.fix27.4.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to