Andrew M. Kuchling
e236b38731
[Patch #1005491 ] use __name__ == '__main__' in scripts
2004-08-09 17:27:55 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Andrew M. Kuchling
ac6df95d07
Fix use of 'file' as a variable name.
...
(I've tested the fixes, but please proofread anyway.)
2003-05-13 18:14:25 +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
79b334ba55
Hand repair of cases where reindent changed lines of the form
...
\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.
2001-01-17 09:13:33 +00:00
Tim Peters
70c4378dbc
Whitespace normalization.
2001-01-17 08:48:39 +00:00
Guido van Rossum
bd3bdde70b
For reasons I dare not explain, this script should always execute
...
main() when imported (in other words, it is not usable as a module).
1999-04-02 22:18:25 +00:00
Fred Drake
b091134e70
During display, if EPIPE is raised, it's probably because a pager was
...
killed. Discard the error in that case, but propogate it otherwise.
1999-03-26 22:36:00 +00:00
Guido van Rossum
b3bf2cd64b
# The variable total is never used somehow. I think I had plans for
...
# it but can't remember what. Get rid of a comparison that breaks.
1998-07-02 22:17:28 +00:00
Guido van Rossum
f06ee5fa07
/usr/local/bin/python -> /usr/bin/env python
1996-11-27 19:52:01 +00:00
Guido van Rossum
41ffccbba7
*** empty log message ***
1993-04-01 20:50:35 +00:00
Guido van Rossum
61700bb985
cope with filenames containing spaces
1992-08-31 10:54:54 +00:00
Guido van Rossum
4a5ab81bc9
posix -> os
1992-03-30 11:31:39 +00:00
Guido van Rossum
2ba9f30489
Initial revision
1992-03-02 16:20:32 +00:00