summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Various improvements to the way the table is formatted, to deal withGuido van Rossum2003-04-091-21/+36
| | | | exceptionally large totals etc.
* install timeit.py as a command line scriptSkip Montanaro2003-04-081-0/+1
|
* fix name of db2pickleSkip Montanaro2003-03-071-1/+1
|
* Use new name for GetoptError, and pass it two argumentsAndrew M. Kuchling2003-02-061-5/+5
| | | | Use re module instead of regex
* try to avoid gross incompatibilities with older versions of PythonSkip Montanaro2003-02-031-12/+12
|
* try to avoid gross incompatibilities with earlier versions of PythonSkip Montanaro2003-02-031-12/+12
|
* note db2pickle.py and pickle2db.pySkip Montanaro2003-02-031-0/+2
|
* dump database files to pickle formatSkip Montanaro2003-02-031-0/+116
|
* convert pickles generated by db2pickle.py back to database filesSkip Montanaro2003-02-031-0/+127
|
* add missing "summary" from long options listSkip Montanaro2003-02-031-1/+1
|
* Fix comment typo.Walter Dörwald2003-02-021-1/+1
|
* Use regular expressions for branch matching, to avoid includingGuido van Rossum2003-01-071-8/+11
| | | | changes on a sub-branch into output for a given branch.
* Add byext.pyGuido van Rossum2003-01-021-0/+1
|
* Silly little script to print statistics (files, lines, words) byGuido van Rossum2003-01-011-0/+116
| | | | extension. Could use some work, but already very useful.
* Correct buggy module docstring.Jeremy Hylton2002-12-111-17/+30
| | | | | | Replace use of homebrew boolean with True/False. Reflow lots more long lines.
* Fix one bug and reformat lots of code.Jeremy Hylton2002-12-111-50/+72
| | | | | | | | | The bug is a reference to co_first_lineno that should be co_firstlineno. The only other substantial change is to speed up localtrace_count() by avoiding *costly* calls to inspect module. It's trivial to get the filename and lineno directly from the frame. Otherwise, delete commented out debug code and reflow very long lines.
* add logmerge.py (pydoc is already installed)Skip Montanaro2002-12-051-0/+1
|
* simple setup.py to install some interesting scripts in $(prefix)/bin.Skip Montanaro2002-12-051-0/+16
|
* * when given, port should be converted to intSkip Montanaro2002-12-051-1/+3
| | | | * when connecting, if the port is non-standard, display it as well
* allow optional port specified as part of the hostname, e.g.,Skip Montanaro2002-12-051-3/+6
| | | | "www.zope.org:8021".
* Expand negative hexadecimal constants.Martin v. Löwis2002-11-231-9/+25
|
* Patch #542562, file 25252: Remove changelog.Martin v. Löwis2002-11-221-38/+0
|
* Tim wins a bet. Don't use re.Guido van Rossum2002-11-131-2/+2
|
* Added -b tag option to limit output to a specific branch only.Guido van Rossum2002-09-291-5/+43
| | | | Use -b HEAD to limit output to the trunk (skip all branch revisions).
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-1125-120/+90
| | | | | | | | (with one small bugfix in bgen/bgen/scantools.py) This replaces string module functions with string methods for the stuff in the Tools directory. Several uses of string.letters etc. are still remaining.
* This is my patchMichael W. Hudson2002-08-151-34/+15
| | | | | | | | [ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
* A tool to transform gprof(1) output into HTML, so you can click on aGuido van Rossum2002-08-091-0/+78
| | | | function name and go to the corresponding entry.
* * runctx - fix a couple typosSkip Montanaro2002-07-251-17/+21
| | | | | | | | | * globaltrace_lt - handle case where inspect.getmodulename doesn't return anything useful * localtrace_trace - handle case where inspect.getframeinfo doesn't return any context info I think both of the last two are caused by exec'd or eval'd code
* Mechanically translated string method calls to string methods.Fred Drake2002-06-181-36/+22
| | | | | Instead of splitting a string and looping over it to call s.split(), use list comprehensions for readability.
* SF patch #552837, submitted by Robert Pyron:Fred Drake2002-06-181-29/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. BUGFIX: In function makefile(), strip blanks from the nodename. This is necesary to match the behavior of parser.makeref() and parser.do_node(). 2. BUGFIX fixed KeyError in end_ifset (well, I may have just made it go away, rather than fix it) 3. BUGFIX allow @menu and menu items inside @ifset or @ifclear 4. Support added for: @uref URL reference @image image file reference (see note below) @multitable output an HTML table @vtable 5. Partial support for accents, to match MAKEINFO output 6. I added a new command-line option, '-H basename', to specify HTML Help output. This will cause three files to be created in the current directory: `basename`.hhp HTML Help Workshop project file `basename`.hhc Contents file for the project `basename`.hhk Index file for the project When fed into HTML Help Workshop, the resulting file will be named `basename`.chm. 7. A new class, HTMLHelp, to accomplish item 6. 8. Various calls to HTMLHelp functions. A NOTE ON IMAGES: Just as 'outputdirectory' must exist before running this program, all referenced images must already exist in outputdirectory. FLD: wrapped some long lines.
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-0/+2
|
* moving into the Doc/tools directorySkip Montanaro2002-04-301-128/+0
|
* Use md5.new() constructorAndrew M. Kuchling2002-04-171-1/+1
|
* Use 2.1's .hexdigest() methodAndrew M. Kuchling2002-04-171-5/+2
|
* new script - helps track down symbols exported by modules but notSkip Montanaro2002-03-281-0/+128
| | | | mentioned in the library reference manual
* operate as a filter when no files or directories appear on the command lineSkip Montanaro2002-03-261-9/+17
|
* SF bug #497839: reindent chokes on empty first lines.Tim Peters2002-02-171-0/+4
| | | | | | Reindenter.run(): copy over initial all-whitespace lines (if any, and after normalizing to remove trailing blanks and tabs). Bugfix candidate.
* Added a module docstring, which doubles as the --help text.Barry Warsaw2002-02-081-16/+81
| | | | | Added a bunch of command line options to make the script more generic.
* www.google.com is better than google.com.Guido van Rossum2002-02-081-1/+1
|
* Warning message about unfound file was missing trailing \n.Guido van Rossum2001-12-061-1/+2
|
* SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()Guido van Rossum2001-12-061-3/+3
|
* A tiny but useful script that fires off a search on Google.Guido van Rossum2001-12-041-0/+22
| | | | (Not sure if this is legal according to the Google terms of service. :-)
* Checking in Zooko's version per SF patch #476866, plus my changes toGuido van Rossum2001-11-281-395/+429
| | | | the usage docs: (a) align properly, (b) explain properly.
* Replace all instances of err.strerror with err.Jeremy Hylton2001-10-081-6/+6
| | | | | | | The strerror attribute contained only partial information about the exception and produced some very confusing error messages. By passing err (the exception object itself) and letting it convert itself to a string, the error messages are better.
* Changed the reindenter to strip only trailing spaces and tabs from lines,Tim Peters2001-10-041-3/+16
| | | | | not other control characters string.rstrip() got rid of. This caters to the \f thingies Barry likes putting in Python source files.
* 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.
* - Reverse the meaning of the -m option: warnings about multiple /Guido van Rossum2001-09-041-35/+85
| | | | | | | | | | | | | | operators per line or statement are now on by default, and -m turns these warnings off. - Change the way multiple / operators are reported; a regular recommendation is always emitted after the warning. - Report ambiguous warnings (both int|long and float|complex used for the same operator). - Update the doc string again to clarify all this and describe the possible messages more precisely.
* Whitespace normalization.Tim Peters2001-09-041-4/+4
|