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.
2003-05-16 03:06:39 +00:00
Raymond Hettinger
071b0bc9f8
Forward slash warnings now only occur for potentially valid LaTeX commands.
...
(Idea contributed by Anthony Baxter.)
2003-05-14 18:15:55 +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
Andrew M. Kuchling
a2f7728341
Prevent script from allowing '-r12'
2003-05-13 17:56:07 +00:00
Andrew M. Kuchling
4693d46fef
Rename sum5.py to md5sum.py, because sum5.py is more interesting
...
as an example program
2003-05-13 17:39:26 +00:00
Andrew M. Kuchling
fb9653a63f
Don't use 'file' as a variable name
...
Modernize the code a bit
Add docstring
2003-05-13 17:38:05 +00:00
Andrew M. Kuchling
87ddce1bf0
[Bug #724767 ] Avoid use of 'file' as a variable name
2003-05-13 17:09:01 +00:00
Andrew M. Kuchling
47172b4fab
[Bug #724767 ] crlf.py uses the variable name file, which it shouldn't anymore.
2003-05-13 14:51:39 +00:00
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.
2003-05-12 23:33:28 +00:00
Raymond Hettinger
4f0c6b2b70
Minor fixups.
2003-05-10 09:04:37 +00:00
Raymond Hettinger
0fd525fd1c
Add table level validation and made minor fix-ups.
2003-05-10 07:41:55 +00:00
Raymond Hettinger
71e0033200
Added a tool for making a rough check of LaTeX documents.
...
It checks for known commands, forward slashes, unbalanced or
mismatched delimters, and unbalanced or mismatched begin/end blocks.
2003-05-10 03:30:13 +00:00
Martin v. Löwis
8f0bd5657a
Declare encoding. Use unsigned long constants. Fixes #728277 .
2003-05-09 08:59:17 +00:00
Guido van Rossum
a3c253e83b
Removing new files accidentally checked in on the trunk rather than on the
...
idlefork-merge-branch.
2003-04-29 11:27:16 +00:00
Guido van Rossum
767d9fedc7
Add back files that were accidentally deleted on the trunk rather than
...
on the idlefork-merge-branch as intended.
2003-04-29 11:15:38 +00:00
Guido van Rossum
57cd21fde2
Checking in IDLEFORK exactly as it appears in the idlefork CVS.
...
On a branch, for now.
2003-04-29 10:23:27 +00:00
Tim Peters
0eadaac7dc
Whitespace normalization.
2003-04-24 16:02:54 +00:00
Barry Warsaw
334df6c597
Finally added a -h option to print the module docstring and exit. ;)
2003-04-20 00:59:24 +00:00
Tim Peters
53f72d7dcd
Docstring clarifications.
2003-04-19 18:21:04 +00:00
Guido van Rossum
6869458236
Don't double-space the "??? new object ..." messages.
2003-04-18 19:51:10 +00:00
Martin v. Löwis
2548c730c1
Implement IDNA (Internationalized Domain Names in Applications).
2003-04-18 10:39:54 +00:00
Tim Peters
8d17a90b83
Heh -- I checked in an old version of this, at a time I documented the
...
internal read() as being a generator but hadn't yet changed it into one.
2003-04-18 01:02:37 +00:00
Tim Peters
21d7d4d5ca
_Py_PrintReferenceAddresses(): also print the type name. In real use
...
I'm finding some pretty baffling output, like reprs consisting entirely
of three left parens. At least this will let us know what type the object
is (it's not str -- there's no quote character in the repr).
New tool combinerefs.py, to combine the two output blocks produced via
PYTHONDUMPREFS.
2003-04-18 00:45:59 +00:00
Barry Warsaw
e04ee70a68
Mostly reformatting, splitting long lines, whitespace normalization
...
etc.
Fixed one typo in the __main__ section.
2003-04-16 18:08:23 +00:00
Guido van Rossum
21123ab7e5
Various improvements to the way the table is formatted, to deal with
...
exceptionally large totals etc.
2003-04-09 19:10:46 +00:00
Skip Montanaro
f2f174f655
install timeit.py as a command line script
2003-04-08 19:50:02 +00:00
Just van Rossum
821a0fc140
replace obsolete 'exceptions' implicit by 'warnings'
2003-03-18 18:48:17 +00:00
Just van Rossum
e9e20a9838
[ 684677 ] Allow freeze to exclude implicits
2003-03-08 19:50:38 +00:00
Skip Montanaro
ea7598e6f4
fix name of db2pickle
2003-03-07 00:47:40 +00:00
Mark Hammond
ce56c377a0
When bad HTML is encountered, ignore the page rather than failing with
...
a traceback.
2003-02-27 06:59:10 +00:00
Andrew M. Kuchling
d683504b85
Use new name for GetoptError, and pass it two arguments
...
Use re module instead of regex
2003-02-06 19:55:35 +00:00
Skip Montanaro
da72d9376b
try to avoid gross incompatibilities with older versions of Python
2003-02-03 15:29:34 +00:00
Skip Montanaro
7c1274d8ab
try to avoid gross incompatibilities with earlier versions of Python
2003-02-03 15:28:23 +00:00
Skip Montanaro
9445ce57f1
note db2pickle.py and pickle2db.py
2003-02-03 15:09:32 +00:00
Skip Montanaro
d96832914a
dump database files to pickle format
2003-02-03 15:09:03 +00:00
Skip Montanaro
9db49c849c
convert pickles generated by db2pickle.py back to database files
2003-02-03 15:08:42 +00:00
Skip Montanaro
c064a1d7e3
add missing "summary" from long options list
2003-02-03 06:34:22 +00:00
Walter Dörwald
771bc377f8
Fix comment typo.
2003-02-02 23:39:45 +00:00
Jack Jansen
c9713874ba
Updated the doc strings to refer to PyArg_Parse and Py_BuildValue in stead
...
of getargs() and mkvalue().
2003-01-24 09:23:13 +00:00
Raymond Hettinger
96bf0d75e2
Kurt pointed out another method affected by the changes to pyclbr.py.
2003-01-22 13:29:00 +00:00
Jack Jansen
2cf08ab4c2
Sigh, due to sloppiness on my part bgen has become pretty mixed up wrt. tabs
...
and spaces. Detabbed the lot.
2003-01-19 21:53:57 +00:00
Raymond Hettinger
18acea7c8e
SF bug #668906 : class browser raises AttributeError
...
The Py2.3 updates to the pyclbr module return both Class and Function
objects. The IDLE ClassBrowser module only knew about Class and could
not handle objects which did not define "super".
Fixed by adding a guard.
2003-01-18 22:53:36 +00:00
Martin v. Löwis
2206cd17ce
Properly find and install icons even if calling setup.py from the build dir.
2003-01-16 11:03:33 +00:00
Guido van Rossum
8b7b345328
Use regular expressions for branch matching, to avoid including
...
changes on a sub-branch into output for a given branch.
2003-01-07 16:46:24 +00:00
Raymond Hettinger
a9cfa5501f
SF bug #652933 (for IdleFork): Open Module "math" Fails
...
When a module doesn't have a __path__ attribute, trigger a dialog box
rather than dumping a traceback to the console.
2003-01-07 09:55:03 +00:00
Guido van Rossum
bf1b1fdb9e
Add byext.py
2003-01-02 02:24:22 +00:00
Guido van Rossum
6a8f7b741c
Silly little script to print statistics (files, lines, words) by
...
extension. Could use some work, but already very useful.
2003-01-01 14:41:25 +00:00
Just van Rossum
41c554fbec
moving modulefinder.py to the standard library
2002-12-31 16:27:33 +00:00
Jack Jansen
15721c5c45
Oops, old-style types don't have a tp_free slot. Call PyObject_Free
...
directly in that case.
2002-12-23 22:33:49 +00:00
Jack Jansen
77e8ad4684
Always use self->ob_type->tp_free when freeing an object.
2002-12-19 23:34:40 +00:00