Tim Peters
84457af29e
Taught svneol to look at .c and .h files too, and
it found a bunch more in need of svn:eol-style.
20 years ago
Tim Peters
d87f81f5f3
Simple utility to add svn:eol-style to text files under
SVN control. Like reindent.py, I expect to run this
mindlessly from time to time, checking in whatever it
happens to do ;-)
20 years ago
Georg Brandl
8797578a06
Add two missing markup tags.
20 years ago
Marc-André Lemburg
c5694c8bf4
Moved gencodec.py to the Tools/unicode/ directory.
Added new support for decoding tables.
Cleaned up the implementation a bit.
21 years ago
Tim Peters
9e34c04732
Whitespace normalization (via reindent.py).
21 years ago
Georg Brandl
256372c88c
Add findnocoding.py and pysource.py.
21 years ago
Georg Brandl
568973181a
Patch [ 784089 ] A program to scan python files and list those require coding
21 years ago
Raymond Hettinger
c418cc81ae
Teach texcheck about \textbar
21 years ago
Georg Brandl
7e7688c2ec
bug [ 1072853 ] thisid not intialized in pindent.py script
21 years ago
Tim Peters
130e37f3e2
Read the text files to be compared in universal-newline mode.
22 years ago
Martin v. Löwis
e064b41f5a
Patch #914575 : difflib side by side diff support, diff.py s/b/s HTML option.
22 years ago
Skip Montanaro
8107ca47eb
Keep option parser from gobbling up the filename to be profiled and the
flags it accepts. It's too late to change optparse's default behavior now,
but I find the default setting of allow_interspersed_args very weird.
22 years ago
Tim Peters
494aaee902
Whitespace normalization.
22 years ago
Andrew M. Kuchling
e236b38731
[Patch #1005491 ] use __name__ == '__main__' in scripts
22 years ago
Marc-André Lemburg
5ae638c78e
Remove copyright notices from gencodec.py output.
The script was originally used to create the initial set of
codecs (and these were (c) CNRI). While the script itself still
is (c) CNRI, the output certainly isn't anymore.
22 years ago
Tim Peters
4fba4521e8
WTF is with this script? It contained illegal syntax and illegal
indentation -- it could never have been run, under any version of Python.
22 years ago
Raymond Hettinger
7b7acd1de5
Use set() instead of sets.Set()
22 years ago
Raymond Hettinger
5492f3d977
Add more known macros.
22 years ago
Tim Peters
27f883687b
Whitespace normalization.
22 years ago
Skip Montanaro
165163f245
add usage() function, -h(elp) flag and long versions of short flags
22 years ago
Skip Montanaro
e2b61e0190
* explain flags in doc strings
* reverse order of files on the command line in pickle2db.py to make it
symmetrical with db2pickle.py in the two-arg case (src, then dest)
22 years ago
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
From SF patch #852334 .
22 years ago
Skip Montanaro
f91c59a06b
add hotshotmain.py ref
22 years ago
Skip Montanaro
4aba6f51cb
The bagpipe didn't say "no" (*), so here's a main program script useful for
running an application under hotshot's control. Only slightly embellished
from what Walter Dörwald posted to python-dev.
(*) http://www.icdc.com/~roadkill/silverstein/turtle.html
22 years ago
Skip Montanaro
48f9c6dfb8
allow dump/load of gdbm files
23 years ago
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
(From SF patch #810751 )
23 years ago
Raymond Hettinger
c60577ea59
Generalize the last change to check for other markup spacing errors.
23 years ago
Raymond Hettinger
b9c07af46c
Check for \NULL markup errors.
23 years ago
Raymond Hettinger
e41d4c8ec9
Added doubled word warnings.
23 years ago
Tim Peters
1a3abcb648
This started opening files in text mode by default in the 2.3 release,
which is a disaster on Windows. Restored the binary default of all
previous releases. Also minor code cleanups.
Bugfix candidate!
23 years ago
Fred Drake
7d599482f2
When piping output into a pager like "less", quiting the pager before
the output was consumed would cause and exception to be raise in
logmerge; suppress this specific error, because it's not helpful.
23 years ago
Skip Montanaro
7f7e1371eb
fix for bug 773020 - splitting PATH should use os.pathsep
23 years ago
Jeremy Hylton
5ec79681d2
This file was moved to Lib/.
23 years ago
Skip Montanaro
8df717a499
minor __doc__ string tweakage
23 years ago
Skip Montanaro
c5e5e51a3a
typo
23 years ago
Walter Dörwald
fc1efa371a
Make the comment prefix 7 character long, so the lines are properly
aligned.
23 years ago
Guido van Rossum
ab537e92f3
Put the main script for the new IDLE here.
23 years ago
Raymond Hettinger
a33d177589
Added a command line interface for difflib.py
23 years ago
Martin v. Löwis
bb640c15a1
Patch #748849 : Update to current tools and demos.
23 years ago
Raymond Hettinger
6e0f5e077a
* Added file globbing to make it easier to check many LaTeX files.
* Delimiter mismatch now prints a warning instead of raising an exception.
* Offer style warnings for use of e.g. and i.e.
* Bypass false positive warnings for forward slashes in urls and in /rfc822.
* Put non-LaTex delimiter matching first to make -d option more reliable.
23 years ago
Raymond Hettinger
071b0bc9f8
Forward slash warnings now only occur for potentially valid LaTeX commands.
(Idea contributed by Anthony Baxter.)
23 years ago
Andrew M. Kuchling
ac6df95d07
Fix use of 'file' as a variable name.
(I've tested the fixes, but please proofread anyway.)
23 years ago
Andrew M. Kuchling
a2f7728341
Prevent script from allowing '-r12'
23 years ago
Andrew M. Kuchling
4693d46fef
Rename sum5.py to md5sum.py, because sum5.py is more interesting
as an example program
23 years ago
Andrew M. Kuchling
fb9653a63f
Don't use 'file' as a variable name
Modernize the code a bit
Add docstring
23 years ago
Andrew M. Kuchling
87ddce1bf0
[Bug #724767 ] Avoid use of 'file' as a variable name
23 years ago
Andrew M. Kuchling
47172b4fab
[Bug #724767 ] crlf.py uses the variable name file, which it shouldn't anymore.
23 years ago
Raymond Hettinger
62aa994633
* Added separate checks for matching braces.
* Added more LaTex cmds from the docs.
* Blocked forward-slash warnings with delimiters-only option.
* Put help message on shorter line to fit an 80 char screen.
23 years ago
Raymond Hettinger
4f0c6b2b70
Minor fixups.
23 years ago
Raymond Hettinger
0fd525fd1c
Add table level validation and made minor fix-ups.
23 years ago