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 bkiefer
Recipients bkiefer
Date 2015-03-27.16:25:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427473520.44.0.514545586028.issue23791@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-27 16:25:20bkiefersetrecipients: + bkiefer
2015-03-27 16:25:20bkiefersetmessageid: <1427473520.44.0.514545586028.issue23791@psf.upfronthosting.co.za>
2015-03-27 16:25:20bkieferlinkissue23791 messages
2015-03-27 16:25:19bkiefercreate