summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/rgrep.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-22831: Use "with" to avoid possible fd leaks in tools (part 2). (GH-10927)Serhiy Storchaka2019-03-301-23/+24
|
* Clean up syntax for some scripts.Florent Xicluna2010-08-091-5/+7
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* 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
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-111-2/+1
| | | | | | | | (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.
* New tool: reverse grep (greps from the end). Uses a fairly efficientGuido van Rossum1998-08-121-0/+65
strategy to read from the end of the file.