]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SequenceMatcher.get_matching_blocks(): This now guarantees that
authorTim Peters <tim.peters@gmail.com>
Wed, 14 Jun 2006 04:09:25 +0000 (04:09 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 14 Jun 2006 04:09:25 +0000 (04:09 +0000)
commit43898b4f642acf182242744181143141228ca56e
tree7698daa8590f35042e112618973b26d2f28ab8b1
parent5d7c290b7ba9353fa443e175fe02112aa53f21b5
SequenceMatcher.get_matching_blocks():  This now guarantees that
adjacent triples in the result list describe non-adjacent matching
blocks.  That's _nice_ to have, and Guido said he wanted it.

Not a bugfix candidate:  Guido or not ;-), this changes visible
endcase semantics (note that some tests had to change), and
nothing about this was documented before.  Since it was working
as designed, and behavior was consistent with the docs, it wasn't
"a bug".
Doc/lib/libdifflib.tex
Lib/difflib.py
Misc/NEWS