summaryrefslogtreecommitdiff
path: root/Tools/scripts
AgeCommit message (Collapse)AuthorLines
2006-03-24Backport:Neal Norwitz-8/+8
SF bug #1457411, fix errors using variables that don't exist. Rename file -> filename to be clear.
2005-06-26backport bug [ 1072853 ] thisid not intialized in pindent.py scriptGeorg Brandl-0/+1
2004-10-03Read the text files to be compared in universal-newline mode.Tim Peters-3/+3
2004-08-29Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option.Martin v. Löwis-2/+6
2004-08-24Keep option parser from gobbling up the filename to be profiled and theSkip Montanaro-0/+1
flags it accepts. It's too late to change optparse's default behavior now, but I find the default setting of allow_interspersed_args very weird.
2004-08-09Whitespace normalization.Tim Peters-4/+0
2004-08-09[Patch #1005491 ] use __name__ == '__main__' in scriptsAndrew M. Kuchling-198/+255
2004-07-23Remove copyright notices from gencodec.py output.Marc-André Lemburg-5/+0
The script was originally used to create the initial set of codecs (and these were (c) CNRI). While the script itself still is (c) CNRI, the output certainly isn't anymore.
2004-07-18WTF is with this script? It contained illegal syntax and illegalTim Peters-8/+8
indentation -- it could never have been run, under any version of Python.
2004-07-12Use set() instead of sets.Set()Raymond Hettinger-3/+2
2004-07-12Add more known macros.Raymond Hettinger-0/+1
2004-07-08Whitespace normalization.Tim Peters-2/+0
2004-03-27add usage() function, -h(elp) flag and long versions of short flagsSkip Montanaro-8/+18
2004-03-03* explain flags in doc stringsSkip Montanaro-15/+32
* reverse order of files on the command line in pickle2db.py to make it symmetrical with db2pickle.py in the two-arg case (src, then dest)
2004-02-12Replace backticks with repr() or "%r"Walter Dörwald-111/+97
From SF patch #852334.
2004-01-27add hotshotmain.py refSkip Montanaro-0/+1
2004-01-26The bagpipe didn't say "no" (*), so here's a main program script useful forSkip Montanaro-0/+54
running an application under hotshot's control. Only slightly embellished from what Walter Dörwald posted to python-dev. (*) http://www.icdc.com/~roadkill/silverstein/turtle.html
2003-10-28allow dump/load of gdbm filesSkip Montanaro-6/+28
2003-10-20Fix a bunch of typos in documentation, docstrings and comments.Walter Dörwald-1/+1
(From SF patch #810751)
2003-09-08Generalize the last change to check for other markup spacing errors.Raymond Hettinger-4/+4
2003-09-08Check for \NULL markup errors.Raymond Hettinger-0/+5
2003-08-25Added doubled word warnings.Raymond Hettinger-0/+3
2003-08-18This started opening files in text mode by default in the 2.3 release,Tim Peters-10/+11
which is a disaster on Windows. Restored the binary default of all previous releases. Also minor code cleanups. Bugfix candidate!
2003-08-14When piping output into a pager like "less", quiting the pager beforeFred Drake-2/+6
the output was consumed would cause and exception to be raise in logmerge; suppress this specific error, because it's not helpful.
2003-07-17fix for bug 773020 - splitting PATH should use os.pathsepSkip Montanaro-1/+1
2003-07-07This file was moved to Lib/.Jeremy Hylton-729/+0
2003-06-20minor __doc__ string tweakageSkip Montanaro-5/+5
2003-06-20typoSkip Montanaro-1/+1
2003-06-19Make the comment prefix 7 character long, so the lines are properlyWalter Dörwald-1/+1
aligned.
2003-06-13Put the main script for the new IDLE here.Guido van Rossum-0/+5
2003-06-08Added a command line interface for difflib.pyRaymond Hettinger-0/+42
2003-06-07Patch #748849: Update to current tools and demos.Martin v. Löwis-3/+14
2003-05-16* Added file globbing to make it easier to check many LaTeX files.Raymond Hettinger-37/+58
* Delimiter mismatch now prints a warning instead of raising an exception. * Offer style warnings for use of e.g. and i.e. * Bypass false positive warnings for forward slashes in urls and in /rfc822. * Put non-LaTex delimiter matching first to make -d option more reliable.
2003-05-14Forward slash warnings now only occur for potentially valid LaTeX commands.Raymond Hettinger-8/+8
(Idea contributed by Anthony Baxter.)
2003-05-13Fix use of 'file' as a variable name.Andrew M. Kuchling-107/+108
(I've tested the fixes, but please proofread anyway.)
2003-05-13Prevent script from allowing '-r12'Andrew M. Kuchling-1/+1
2003-05-13Rename sum5.py to md5sum.py, because sum5.py is more interestingAndrew M. Kuchling-109/+80
as an example program
2003-05-13Don't use 'file' as a variable nameAndrew M. Kuchling-24/+17
Modernize the code a bit Add docstring
2003-05-13[Bug #724767] Avoid use of 'file' as a variable nameAndrew M. Kuchling-7/+7
2003-05-13[Bug #724767] crlf.py uses the variable name file, which it shouldn't anymore.Andrew M. Kuchling-7/+7
2003-05-12* Added separate checks for matching braces.Raymond Hettinger-6/+27
* Added more LaTex cmds from the docs. * Blocked forward-slash warnings with delimiters-only option. * Put help message on shorter line to fit an 80 char screen.
2003-05-10Minor fixups.Raymond Hettinger-2/+4
2003-05-10Add table level validation and made minor fix-ups.Raymond Hettinger-8/+22
2003-05-10Added a tool for making a rough check of LaTeX documents.Raymond Hettinger-0/+168
It checks for known commands, forward slashes, unbalanced or mismatched delimters, and unbalanced or mismatched begin/end blocks.
2003-04-24Whitespace normalization.Tim Peters-16/+16
2003-04-20Finally added a -h option to print the module docstring and exit. ;)Barry Warsaw-2/+6
2003-04-19Docstring clarifications.Tim Peters-7/+12
2003-04-18Don't double-space the "??? new object ..." messages.Guido van Rossum-1/+1
2003-04-18Heh -- I checked in an old version of this, at a time I documented theTim Peters-3/+1
internal read() as being a generator but hadn't yet changed it into one.
2003-04-18_Py_PrintReferenceAddresses(): also print the type name. In real useTim Peters-0/+124
I'm finding some pretty baffling output, like reprs consisting entirely of three left parens. At least this will let us know what type the object is (it's not str -- there's no quote character in the repr). New tool combinerefs.py, to combine the two output blocks produced via PYTHONDUMPREFS.