[New-bugs-announce] [issue30920] Sequence Matcher from diff lib is not implementing longest common substring problem correctly

Syam report at bugs.python.org
Thu Jul 13 11:05:55 EDT 2017


New submission from Syam:

Was seeing this lib from difflib import SequenceMatcher not returning the biggest common substring always..

try the example from attachment..

it is returning wrong value, not the biggest substring

----------
components: Build
files: script.py
messages: 298287
nosy: Syam Mohan
priority: normal
severity: normal
status: open
title: Sequence Matcher from diff lib is not implementing longest common substring problem correctly
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file47010/script.py

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


More information about the New-bugs-announce mailing list