Fred Drake
a0dbddfcc0
Markup consistency nits.
...
Fix indentation in code sample in PyArg_ParseTuple() section.
Added one index entry.
Fix include file reference in "Shared Libraries" to print <...> instead of
the upside-down versions of ! and ?.
1998-04-02 06:50:02 +00:00
Fred Drake
c6fa34e4d0
Markup consistency & nits.
...
Fix typo in a C code example: KeyError is spelled PyExc_KeyError in C; the
"K" is upper case!
Some index entries.
On function signatures, always use parameter names. Make return types match
what's in the header files. When the return type is a pointer, always omit
the space between te type name and the "*"; leaving it in results in
type * func(..)
and having two spaces there just looks terrible.
1998-04-02 06:47:24 +00:00
Guido van Rossum
e9625e86b8
AMK's version from the latest pypcre distribution. This clarifies a
...
few things and adds docs for what happens to escapes in replacement
strings.
1998-04-02 01:32:24 +00:00
Fred Drake
391564f10f
Small markup nits, a few grammatical fixes, and a clarification of the binary
...
mode for files under MacOS.
Updated the traffic figure for c.l.p in the "What Now?" chapter; see comments.
1998-04-01 23:11:56 +00:00
Fred Drake
1a7af3959b
Implemented one more special markup item.
1998-04-01 22:44:56 +00:00
Fred Drake
454a4fb018
Added some comments.
1998-04-01 22:20:14 +00:00
Barry Warsaw
92166d9a75
(py-compute-indentation): When looking at a continuation line inside
...
an open paren, do a better job of reindenting the line. For example:
def foo():
print 'hello %s, %d' % (
a, b)
Hit TAB on the line starting with `a'. Without this patch this line
will never be reindented.
1998-04-01 21:59:41 +00:00
Barry Warsaw
585f733b39
Two patches for Emacs 20.2 compatibility:
...
(py-compute-indentation): int-to-char isn't defined in Emacs, but we
don't really need it anyway, so just remove this conversion. XEmacs
is happy either way.
(py-parse-state): The Emacs branch (i.e. w/o buffer-syntactic-context)
wasn't adjusting point correctly.
1998-04-01 21:13:51 +00:00
Guido van Rossum
b1062fc9d2
Correct dumb typo found by kjpylint (stack should be self.stack).
1998-03-31 17:00:46 +00:00
Guido van Rossum
599174f74d
Correct a definite typo ('mem' should be 'memo').
1998-03-31 16:30:28 +00:00
Guido van Rossum
9ab75cbaab
Tim Peters' program for checking whether a program's indentation is
...
sensitive to tab size. Uses a different strategy than tabpolice.py,
but has compatible usage.
1998-03-31 14:31:39 +00:00
Guido van Rossum
a6bb6be95f
Strip argument to atol and atof to match what strop does better.
1998-03-30 17:22:30 +00:00
Guido van Rossum
a08fabad72
A few lines were indented using spaces instead of tabs -- fix them.
1998-03-30 17:17:24 +00:00
Guido van Rossum
117a5a8138
Return the name of the Tcl command defined by _bind(). This can
...
optionally be passed to unbind() (or you can apss it to
deletecommand()).
1998-03-27 21:26:51 +00:00
Fred Drake
982d91fb51
Change $ICONSERVER to conform to the value AMK & I have discussed for this;
...
doing this here may prove to not be such a good idea, but we'll see.
1998-03-27 06:53:13 +00:00
Fred Drake
8fe533e6a0
Use the new {methoddesc} and {memberdesc} environments as appropriate.
1998-03-27 05:27:08 +00:00
Fred Drake
ec56109a0a
First (rough) cut at HTML index generation in Python. Not very pretty, but
...
easier to work with than the Perl code.
1998-03-27 05:25:43 +00:00
Fred Drake
19e2ce58bf
Add support for mapping internal labels used from the index.
1998-03-27 05:24:53 +00:00
Fred Drake
48a16bf6b5
\tableofcontents: Add support for some warning reduction in python.sty.
1998-03-27 05:24:03 +00:00
Fred Drake
6cb71491de
Add comments about several of the environments.
...
Cleaned up some problems that caused minor warnings.
Added environments for object methods and members, with non-indexing variants.
This includes reduced use of the indexsubitem setting, allowing more robust
index generation.
Removed some unused definitions.
1998-03-27 05:22:53 +00:00
Fred Drake
235e6b1428
Some cleanup.
...
Remove index generation from Perl; use an external script instead.
1998-03-27 05:19:43 +00:00
Fred Drake
8821ecb9cc
Added note about weird sequencing of <PRE> & <dl> around {verbatim} sections.
1998-03-27 05:18:45 +00:00
Fred Drake
6355bd43e5
Clarified some comments about the requirements on the TeX installation.
...
Added brief section on the howto support.
1998-03-27 05:17:21 +00:00
Fred Drake
42b31a5536
Lots and lots and lots.....
...
Implemented some new features of python.sty for methods & members.
Fixed some bugs.
Cleaned up some perl code and made some basic regular expressions more robust.
1998-03-27 05:16:10 +00:00
Fred Drake
f76abb51ef
Make sure both hyphens of a long-option show up in the HTML output.
1998-03-27 00:37:40 +00:00
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