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 rhettinger
Recipients jan.koprowski, rhettinger, terry.reedy, tim.peters, ysj.ray
Date 2011-04-09.19:50:42
SpamBayes Score 5.357845e-05
Marked as misclassified No
Message-id <1302378642.82.0.920107618877.issue11747@psf.upfronthosting.co.za>
In-reply-to
Content
[Uncle Timmy]
> Would have to look at the history to see who added it, and ask them. 

That would be me :-)

At the time, the goals were to:

1) make an easy-to-use, readable output format for file comparisons,

2) use the unmodified output of the existing SequenceMatcher(None,a,b).get_grouped_opcodes(n) method,

3) create output that works with patch and ed, and

4) comply with the output format spec in the Single Unix Specification found at http://www.unix.org/single_unix_specification/ . See the attached excerpt.

No effort was made to exactly reproduce the output of GNU diff.  It was just an alternate output format for the SequenceMatcher.
History
Date User Action Args
2011-04-09 19:50:42rhettingersetrecipients: + rhettinger, tim.peters, terry.reedy, ysj.ray, jan.koprowski
2011-04-09 19:50:42rhettingersetmessageid: <1302378642.82.0.920107618877.issue11747@psf.upfronthosting.co.za>
2011-04-09 19:50:42rhettingerlinkissue11747 messages
2011-04-09 19:50:42rhettingercreate