Commit Graph

12 Commits

Author SHA1 Message Date
Benjamin Peterson
90f5ba538b convert shebang lines: python -> python3 2010-03-11 22:53:45 +00:00
Georg Brandl
8efadf5d66 Ran 2to3 over scripts directory. 2008-05-16 15:23:30 +00:00
Collin Winter
6afaeb757a Convert print statements to function calls in Tools/. 2007-08-03 17:06:41 +00:00
Guido van Rossum
b940e113bf SF patch 1631942 by Collin Winter:
(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
2007-01-10 16:19:56 +00:00
Neal Norwitz
ce96f69d69 Get rid of a bunch more raw_input references 2006-03-17 06:49:51 +00:00
Andrew M. Kuchling
e236b38731 [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
Walter Dörwald
aaab30e00c Apply diff2.txt from SF patch http://www.python.org/sf/572113
(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.
2002-09-11 20:36:02 +00:00
Tim Peters
70c4378dbc Whitespace normalization. 2001-01-17 08:48:39 +00:00
Guido van Rossum
ed5b3d8b3c give in to tab police 1998-03-24 05:30:29 +00:00
Guido van Rossum
79b2038aa4 When checking for equality, open the slave file in text mode so it
will compare equal even if the master file uses only \n to terminate
lines (this is by far the most common situation).  Also, check for the
case where the master file is missing, and print the time difference
in seconds when the slave file appears newer than the master (for
debugging).
1997-11-04 17:35:43 +00:00
Guido van Rossum
92dfa4ffe1 Use correct keyword parameter when calling copy with answer option! 1997-08-18 20:56:10 +00:00
Guido van Rossum
a554107802 Source tree synchronization tool (for Windowes, mostly) 1997-08-14 20:15:20 +00:00