Fred Drake [Wed, 3 Mar 1999 16:21:34 +0000 (16:21 +0000)]
Be a little more friendly for the generation of the text version: for
"blank" navigation icons, use ALT="" instead of ALT="blank"; also add
ALIGN=CENTER for the table, to get a slightly better affect in the
text (the table is full-width, so this doesn't change the appearance
when browsing the HTML).
Fred Drake [Tue, 2 Mar 1999 16:05:35 +0000 (16:05 +0000)]
swallow_newline(): Removed function; not really needed. Modified all call
sites.
do_cmd_ignorePlatformAnnotation(),
do_cmd_platform(),
do_cmd_platformof(): New functions to support platform dependency
information.
process_all_platformofs(): New function to post-process \platformof macros
using information collected during the initial pass.
process_python_state(): New function. Call all post-processing functions
defined in this file to avoid having to have too much knowledge of
the internals for this stuff in l2hinit.perl.
Jeremy Hylton [Wed, 24 Feb 1999 18:42:38 +0000 (18:42 +0000)]
When performing a POST request, i.e. when the second argument to
urlopen is used to specify form data, make sure the second argument is
threaded through all of the http_error_NNN calls. This allows error
handlers like the redirect and authorization handlers to properly
re-start the connection.
Fred Drake [Wed, 24 Feb 1999 17:33:07 +0000 (17:33 +0000)]
Script to combine module index files. Given a list of files that look
like modindex.html, create a combined modindex.html file that lists
all the modules. Takes the same parameters as buildindex.py.
Guido van Rossum [Wed, 24 Feb 1999 16:25:17 +0000 (16:25 +0000)]
Patch by Lars Wirzenius:
o the initial comment is wrong: creating messages is already
implemented
o Message.getbodytext: if the mail or it's part contains an
empty content-transfer-encoding header, the code used to
break; the change below treats an empty encoding value the same
as the other types that do not need decoding
o SubMessage.getbodytext was missing the decode argument; the
change below adds it; I also made it unconditionally return
the raw text if decoding was not desired, because my own
routines needed that (and it was easier than rewriting my
own routines ;-)
Barry Warsaw [Wed, 24 Feb 1999 00:35:43 +0000 (00:35 +0000)]
(initerrors): Make sure that the exception tuples ("base-classes" when
string-based exceptions are used) reflect the real class hierarchy,
i.e. that SystemExit derives from Exception not StandardError.
Barry Warsaw [Wed, 24 Feb 1999 00:27:39 +0000 (00:27 +0000)]
Document the correct class hierarchy for SystemExit. It is not an
error and so it derives from Exception and not SystemError. The
docstring was incorrect but the implementation was fine.
Guido van Rossum [Tue, 23 Feb 1999 18:00:56 +0000 (18:00 +0000)]
Get rid of AC_CHECK_LIB(m, pow) since this is taken care of later with
LIBM (from --with-libm=...); this actually broke the customizability
offered by the latter option. Thanks go to Clay Spence for reporting
this.
Guido van Rossum [Tue, 23 Feb 1999 16:11:01 +0000 (16:11 +0000)]
Patch by Tim Peters to improve the range checks for range() and
xrange(), especially for platforms where int and long are different
sizes (so sys.maxint isn't actually the theoretical limit for the
length of a list, but the largest C int is -- sys.maxint is the
largest Python int, which is actually a C long).
Guido van Rossum [Tue, 23 Feb 1999 15:43:15 +0000 (15:43 +0000)]
1. Augment the DG/UX rule so it doesn't break the BeOS build.
2. Add $(EXE) to various occurrences of python so it will work on
Cygwin with egcs (after setting EXE=.exe). These patches by
Norman Vine.
Guido van Rossum [Tue, 23 Feb 1999 00:00:10 +0000 (00:00 +0000)]
Patch by Tadayoshi Funaba (with some changes) to be smarter about
guessing what happened when strftime() returns 0. Is it buffer
overflow or was the result simply 0 bytes long? (This happens for an
empty format string, or when the format string is a single %Z and the
timezone is unknown.) if the buffer is at least 256 times as long as
the format, assume the latter.
Guido van Rossum [Mon, 22 Feb 1999 16:18:44 +0000 (16:18 +0000)]
In atoi(), don't use isxdigit() to test whether the last character
converted was a "digit" -- use isalnum(). This test is there only to
guard against "+" or "-" being interpreted as a valid int literal.
Reported by Takahiro Nakayama.