[New-bugs-announce] [issue23791] Identify Moved Lines with difflib

Brian report at bugs.python.org
Fri Mar 27 17:25:20 CET 2015

New submission from Brian:

It would be a helpful feature to incorporate logic into the difflib module to optionally identify and ignore identical, but relocated lines when doing a diff. This would be used when the order of lines in a document is not critical, but rather just the overall content. The Notepad++ Compare plug-in has this feature for reference. 

I would be willing to help submit a patch for this change. The only drawbacks I see using this function is it will either have to increase processing time or increase memory usage.

components: Library (Lib)
messages: 239416
nosy: bkiefer
priority: normal
severity: normal
status: open
title: Identify Moved Lines with difflib
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list