summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/dutree.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-97669: Remove outdated example scripts (#97675)Victor Stinner2022-10-041-60/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove outdated example scripts of the Tools/scripts/ directory. A copy can be found in the old-demos project: https://github.com/gvanrossum/old-demos Removed scripts (39): * byext.py * byteyears.py * cleanfuture.py * copytime.py * crlf.py * db2pickle.py * dutree.doc * dutree.py * find-uname.py * find_recursionlimit.py * finddiv.py * findlinksto.py * findnocoding.py * fixcid.py * fixdiv.py * fixheader.py * fixnotice.py * fixps.py * get-remote-certificate.py * google.py * highlight.py * ifdef.py * import_diagnostics.py * lfcr.py * linktree.py * lll.py * mailerdaemon.py * make_ctype.py * mkreal.py * objgraph.py * pdeps.py * pickle2db.py * pindent.py * pysource.py * reindent-rst.py * rgrep.py * suff.py * texi2html.py * which.py Changes: * Remove test_fixcid, test_lll, test_pdeps and test_pindent of test.test_tools. * Remove get-remote-certificate.py changelog entry, since the script was removed. Note: there is a copy of crlf.py in Lib/test/test_lib2to3/data/.
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)Serhiy Storchaka2019-03-301-11/+11
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Make it work with Py3k.Guido van Rossum2007-08-291-2/+2
|
* Convert print statements to function calls in Tools/.Collin Winter2007-08-031-1/+1
|
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-1/+1
| | | | | | (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
* [Patch #1005491 ] use __name__ == '__main__' in scriptsAndrew M. Kuchling2004-08-091-1/+2
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-1/+1
| | | | From SF patch #852334.
* Fix use of 'file' as a variable name.Andrew M. Kuchling2003-05-131-2/+2
| | | | (I've tested the fixes, but please proofread anyway.)
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-4/+4
| | | | | | | | (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.
* Hand repair of cases where reindent changed lines of the formTim Peters2001-01-171-2/+2
| | | | | | | | | | | \t\t\t\t\treal code ##\t\t\t\t\tunused code \t\t\t\t\treal code via untabifying and shifting the real code left. Semantically the same but made the intent of the commented-out-in-column-0 unused code unclear. The exact same unused code appears to have gotten copied from file to file over the years.
* Whitespace normalization.Tim Peters2001-01-171-45/+45
|
* For reasons I dare not explain, this script should always executeGuido van Rossum1999-04-021-2/+1
| | | | main() when imported (in other words, it is not usable as a module).
* During display, if EPIPE is raised, it's probably because a pager wasFred Drake1999-03-261-3/+8
| | | | killed. Discard the error in that case, but propogate it otherwise.
* # The variable total is never used somehow. I think I had plans forGuido van Rossum1998-07-021-2/+2
| | | | # it but can't remember what. Get rid of a comparison that breaks.
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-271-1/+1
|
* *** empty log message ***Guido van Rossum1993-04-011-1/+1
|
* cope with filenames containing spacesGuido van Rossum1992-08-311-2/+5
|
* posix -> osGuido van Rossum1992-03-301-3/+3
|
* Initial revisionGuido van Rossum1992-03-021-0/+52