Fred Drake [Thu, 22 Apr 1999 14:55:43 +0000 (14:55 +0000)]
Don't refer to the system documentation as "man pages"; too
Unix-centric. Note that this can be used with the output of
os.fstat() as well as os.stat() and os.lstat().
Super-elegant patch by Tim Peters that speeds up colorization
dramatically (up to 15 times he claims). Works by reading more than
one line at a time, up to 100-line chunks (starting with one line and
then doubling up to the limit). On a typical machine (e.g. Tim's
P5-166) this doesn't reduce interactive responsiveness in a noticeable
way.
Fred Drake [Thu, 22 Apr 1999 13:08:09 +0000 (13:08 +0000)]
Script to locate uses of \module where the module referred to is not
the module being documented at that point in the documentation; these
are candidates for conversion to \refmodule, which produces a
hyperlink in the HTML and PDF versions of the output.
Fred Drake [Thu, 22 Apr 1999 13:03:49 +0000 (13:03 +0000)]
Added support for adding environment/macro parameters more cleanly:
\op adds an optional parameter, and \p adds a required parameter.
These are only defined in the context of the parameter list parameter
of the envdesc and macrodesc environments.
Patch by Per Cederqvist, seemingly approved by The Dragon:
Two problems: The SMTPRecipientsRefused class should not inherit
SMTPResponseException, since it doesn't provide the smtp_code and
smtp_error attributes. My patch for not adding an extra CRLF was
apparently forgotten. The enclosed patch fixes these two problems.
Fred Drake [Wed, 21 Apr 1999 13:58:17 +0000 (13:58 +0000)]
Added index entry for "file objects"; this is appearantly referenced
somewhere in the Reference Manual, and someone tried to locate it via
the index. Report on the omission by Stefan Franke
<sfranke@cdc-group.com>.
Patch by Mark Favas: it fixes the search engine behaviour where an
unsuccessful search wraps around and re-searches that part of the file
between the start of the search and the end of the file - only really
an issue for very large files, but... (also removes a redundant
m.span() call).
Calling _cleanup() does not guarantee that all processes have
terminated; this makes the final assert in the self-test code fail if
the parent runs faster than the children. Fix this by calling wait()
on the remaining children instead.
I have attached a new cPickle that adds a new control attribute
to unpicklers:
Added new Unpickler attribute, find_global. If set to None, then
global and instance pickles are disabled. Otherwise, it should be set to
a callable object that takes two arguments, a module name and an
object name, and returns an object. If the attribute is unset, then
the default mechanism is used.
This feature provides an additional mechanism for controlling which
classes can be used for unpickling.
o Makes the tab key intelligently insert spaces when appropriate (see Help
list banter twixt David Ascher and me; idea stolen from every other editor
on earth <wink>).
o newline_and_indent_event trims trailing whitespace on the old line (pymode
and Codewright).
o newline_and_indent_event no longer fooled by trailing whitespace or
comment after ":" (pymode, PTUI).
o newline_and_indent_event now reduces the new line's indentation after
return, break, continue, raise and pass stmts (pymode).
The last two are easy to fool in the presence of strings & continuations,
but pymode requires Emacs's high-powered C parsing functions to avoid that
in finite time.
Fred Drake [Wed, 14 Apr 1999 14:31:53 +0000 (14:31 +0000)]
Correct documentation for <file>.read(); Python makes a serious
best-effort to return 'size' bytes. Point out that this may mean
multiple fread() calls. Reported by Anders Hammarquist
<iko@iko.pp.se> via the Debian crew.
Fred Drake [Tue, 13 Apr 1999 22:08:59 +0000 (22:08 +0000)]
Fix problem of LaTeX leakage in the module synopsis tables at the
beginning of chapters. Known problem reported by Barry Scott
<barry@scottb.demon.co.uk>.
Fred Drake [Tue, 13 Apr 1999 21:36:44 +0000 (21:36 +0000)]
Work around problems with HTML conversion by making the break and
tbreak synopses be all on one line (each). Known problem, most
recently reported by Barry Scott <barry@scottb.demon.co.uk>.