summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/ndiff.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert print statements to function calls in Tools/.Collin Winter2007-08-031-3/+3
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-2/+2
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Read the text files to be compared in universal-newline mode.Tim Peters2004-10-031-1/+1
|
* Prevent script from allowing '-r12'Andrew M. Kuchling2003-05-131-1/+1
|
* Generalize file.writelines() to allow iterable objects.Tim Peters2001-09-231-2/+1
|
* Fix restore (difflib.restore() became a generator too).Tim Peters2001-09-221-1/+2
|
* Make difflib.ndiff() and difflib.Differ.compare() generators. ThisTim Peters2001-09-221-3/+2
| | | | | restores the 2.1 ability of Tools/scripts/ndiff.py to start producing output before the entire comparison is complete.
* SF patch #445412 extract ndiff functionality to difflib, fromTim Peters2001-08-121-226/+15
| | | | David Goodger.
* Moved SequenceMatcher from ndiff into new std library module difflib.py.Tim Peters2001-02-101-292/+2
| | | | | | | | | Guido told me to do this <wink>. Greatly expanded docstrings, and fleshed out with examples. New std test. Added new get_close_matches() function for ESR. Needs docs, but LaTeXification of the module docstring is all it needs. \CVS: ----------------------------------------------------------------------
* SF bug 124051: ndiff "?" lines can be confusing. Well, they still can, butTim Peters2000-12-091-28/+19
| | | | after implementing it I liked Gregor's two-"?" line idea a lot.
* Hack ndiff to display lines w/ leading tabs more intuitively. This synchsTim Peters2000-11-011-9/+24
| | | | ndiff w/ a custom version I made for Guido during the pre-2.0 freeze.
* Tim Peters writes:Guido van Rossum1999-03-281-24/+53
| | | | | | | | I should have waited overnight <wink/sigh>. Nothing wrong with the one I sent, but I couldn't resist going on to add new -r1 / -r2 cmdline options for recreating the original files from ndiff's output. That's attached, if you're game! Us Windows guys don't usually have a sed sitting around <wink>.
* Tim Peters writes:Guido van Rossum1999-03-271-160/+88
| | | | | | | Attached is a cleaned-up version of ndiff (added useful module docstring, now echo'ed in case of cmd line mistake); added -q option to suppress initial file identification lines; + other minor cleanups, & a slightly faster match engine.
* Add the specific sed statement to recover the second output file toGuido van Rossum1998-05-081-1/+6
| | | | the comments.
* Adding Tim Peters' ndiff utility.Guido van Rossum1998-05-061-0/+667
This is handy for comparing plain-text documentation files, since it displays intra-line differences.