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 rtvd
Recipients
Date 2007-03-10.17:24:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The quick test for this bug is:


for i in xrange(190, 200):
	text1 = "a" + "b"*i
	text2 = "b"*i + "c"
	m = difflib.SequenceMatcher(None, text1, text2)
	(aptr,bptr,l) = m.find_longest_match(0, len(text1), 0, len(text2))
	print "i:", i, "  l:", l, "  aptr:", aptr, "  bptr:", bptr
	assert l == i


The assertion will fail when i==199 (the length of the texts will be 200).
And yes, the bug is clearly "populardict"-related.
History
Date User Action Args
2007-08-23 14:41:33adminlinkissue1528074 messages
2007-08-23 14:41:33admincreate