Guido van Rossum
548703a1b8
The usual.
1998-03-26 22:14:20 +00:00
Guido van Rossum
65e5399081
Don't write "if self.dict: self.dict.close()"; just write
...
"self.dict.close()" and ignore the exception. The "if self.dict:"
part would be calculated through len(self.dict.keys()), which is very
expensive for a large dictionary...
1998-03-26 22:12:22 +00:00
Guido van Rossum
3ec38f0ee4
A few lines were indented using tabs instead of spaces -- fix them.
1998-03-26 22:10:50 +00:00
Guido van Rossum
45e2fbc2e7
Mass check-in after untabifying all files that need it.
1998-03-26 21:13:24 +00:00
Guido van Rossum
9ea7024754
Delete this unused relic.
1998-03-26 21:07:14 +00:00
Guido van Rossum
7e7ca0ba17
A few lines were indented using spaces instead of tabs -- fix them.
1998-03-26 21:01:39 +00:00
Guido van Rossum
8ca842066c
A few lines were indented using spaces instead of tabs -- fix them.
1998-03-26 20:56:10 +00:00
Guido van Rossum
fa6e254b34
Mass check-in after untabifying all files that need it.
1998-03-26 20:23:01 +00:00
Guido van Rossum
1847d06493
Reindented with tabs only (seems fair to the Windows crowd).
1998-03-26 20:22:30 +00:00
Guido van Rossum
07af9a7ddd
Add a sleep(0.00001) call to make sure all threads run.
1998-03-26 20:09:16 +00:00
Guido van Rossum
2830dcc15c
Get rid of the Emacs cruft now that Python-mode guess the desired settings!
1998-03-26 19:52:46 +00:00
Guido van Rossum
41360a4696
Mass check-in after untabifying all files that need it.
1998-03-26 19:42:58 +00:00
Guido van Rossum
cd0f59ea08
Get rid of the Emacs cruft now that Python-mode guess the desired settings!
1998-03-26 19:30:30 +00:00
Guido van Rossum
97df7f8679
Add -q option that *just* prints the filename.
1998-03-26 19:23:43 +00:00
Guido van Rossum
70c7f48b9b
Get rid of the check for -linet -- recent Sequent Dynix systems don't
...
need this any more and apparently it screws up their configuration.
1998-03-26 18:44:10 +00:00
Barry Warsaw
f9b99f4375
(py-postprocess-output-buffer): Return t if an exception was found,
...
otherwise return nil.
(py-execute-region): When executing the buffer asynchronously in a
subprocess, if an exception occurred, show both the output buffer and
the file containing the exception, leaving point on the source line
containing bottom-most error in the traceback. If no exception
occurred, jump to the output buffer (no change).
1998-03-26 16:08:59 +00:00
Barry Warsaw
512af04b35
(py-execute-region): Watch out for shell-command-on-region killing a
...
zero sized output buffer.
1998-03-25 23:27:17 +00:00
Guido van Rossum
69c70a2fd1
Support 'whence' parameter to seek().
1998-03-25 16:25:26 +00:00
Fred Drake
55730316c9
Don't use the fncychap package for HOWTO documents; appendices break. Still
...
use them for manuals.
1998-03-25 15:41:23 +00:00
Fred Drake
050be83da9
Python HOWTO template document, with lots of help from AMK.
1998-03-25 15:39:49 +00:00
Fred Drake
f6b55106a7
Update.
1998-03-25 14:56:01 +00:00
Fred Drake
c0b2e453ae
Change uses of \pdfinfo and \pdfcatalog to use the new syntax from the
...
latest pdftex. (Which we have here at CNRI.) This makes the PDF targets
work again.
1998-03-25 14:53:43 +00:00
Fred Drake
f558e3188e
Make $MYDIR absolute -- bug reported by AMK.
1998-03-24 17:48:20 +00:00
Guido van Rossum
ed5b3d8b3c
give in to tab police
1998-03-24 05:30:29 +00:00
Guido van Rossum
3db0e3713c
Report first line with inconsistent tab usage.
1998-03-24 04:58:04 +00:00
Guido van Rossum
031c6315e2
Check for boundary errors in [r]find -- find("x", "", 2) should return -1.
1998-03-24 04:19:22 +00:00
Guido van Rossum
c8d36284f3
Give in to Timmy's Tedious Tab Theorem.
1998-03-23 15:31:22 +00:00
Guido van Rossum
c457048744
Give in to the tab police.
1998-03-20 20:45:49 +00:00
Guido van Rossum
6f73c1a2ac
The Tab Police watches for possibly inconsistent indentation.
1998-03-20 19:23:04 +00:00
Guido van Rossum
78fc3634cb
Big changes by Mark Hammond to support freezing with DLLs on Windows.
1998-03-20 17:37:24 +00:00
Guido van Rossum
11af5a4469
Mark Hammond's main program for a frozen application.
1998-03-20 17:34:26 +00:00
Barry Warsaw
beef9e73c3
Removed all the mixed indentation face stuff. It's not as helpful as
...
it at first seems. I think we've got a good idea of what to do, but
it'll be a bit of work... for later.
1998-03-20 17:06:11 +00:00
Barry Warsaw
8ca702823d
(py-tab-face): => py-mixed-indentation-face
...
(python-font-lock-keywords): Better regexp given by Sjoerd. This
matches only mixed indentation which is probably more useful than
matching all tabs.
1998-03-20 14:48:30 +00:00
Barry Warsaw
e908b6ba57
(py-in-literal, py-fast-in-literal): New functions (mostly) stolen
...
from CC Mode.
(py-guess-indent-offset): Teach it about colons in `literals'
(e.g. comments and strings). Don't false hit colons in literals; keep
searching for a real block introducing line.
1998-03-19 22:48:02 +00:00
Barry Warsaw
b6c1f1f927
#minor change to eval-while-compile so that it must both find
...
#custom.el and have an up-to-date version (i.e. one that defines
#defcustom -- which Emacs 19.34's by default does not).
1998-03-19 22:33:06 +00:00
Barry Warsaw
0d2805b771
(py-tab-face, python-font-lock-keywords): Color all tabs at the start
...
of a line in py-tab-face to aid in seeing mixed tab/space indentation.
This face defaults to the `default' face so it is unobtrusive until
you `M-x customize-face' py-tab-face to something obnoxious like
"Yellow".
1998-03-19 21:52:06 +00:00
Guido van Rossum
677bedab0c
Fix indent of one line in mkarg(), that got indented badly by the
...
recent reindent!
1998-03-19 15:14:24 +00:00
Fred Drake
2543769ca5
Use "/usr/bin/env perl" for the #! line, and change the -i option to:
...
use English;
$INPLACE_EDIT = '';
to get the inplace-editing behavior.
1998-03-19 05:17:49 +00:00
Fred Drake
1125488b24
build_dvi(): Make sure we run latex enough times; this now matches the #
...
of times pdflatex would be run, which is correct.
1998-03-18 22:06:13 +00:00
Guido van Rossum
240c35aac0
Subtle fix in the read() code which could cause a read broken up in
...
several pieces to fail...
1998-03-18 17:59:20 +00:00
Guido van Rossum
3f0666c4a2
Add obvious needed else clause to format_exception().
1998-03-18 17:48:06 +00:00
Guido van Rossum
2e6938f167
Fix bug in islocked() -- it would always return 0.
1998-03-17 21:28:21 +00:00
Barry Warsaw
a341fc3bf7
update while dragging defaults to 0
1998-03-17 16:19:05 +00:00
Barry Warsaw
ee6d8a5b45
No update while dragging still tracks the arrows
1998-03-17 15:59:26 +00:00
Guido van Rossum
96c07fefa9
Prefer clock() over times() for timer function, except on the Mac,
...
where we use GetTicks() -- its clock() is a crock, with only 1 second
accuracy, I believe.
1998-03-17 14:46:43 +00:00
Guido van Rossum
685ef4e604
According to Tim Peters, there should be 'print' statements in one
...
particular example.
1998-03-17 14:37:48 +00:00
Fred Drake
cce1090d49
Change "\," to just "," in function signatures. This is easier to maintain,
...
works better with LaTeX2HTML, and allows some simplification of the python.sty
macros.
1998-03-17 06:33:25 +00:00
Fred Drake
c9a4438c16
Coding cleanups.
...
Fix some small but messy buglets.
1998-03-17 06:29:13 +00:00
Fred Drake
13210ed55f
Get the index working at least partway again.
...
Some small cleanups.
1998-03-17 06:28:05 +00:00
Fred Drake
bd2796e972
Update....
1998-03-17 06:24:10 +00:00