Jeremy Hylton
dbc8364e1f
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.
1999-02-24 18:42:38 +00:00
Fred Drake
093c97a36f
ignore_from_idx(): Fixed bug in regular expression.
1999-02-24 18:39:47 +00:00
Fred Drake
684f78fafe
Add target for modindex.html; a combined lib+mac module index. Also
...
built with target "all".
1999-02-24 17:34:12 +00:00
Fred Drake
2ef38a7a42
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.
1999-02-24 17:33:07 +00:00
Fred Drake
1b102456a6
Ignore a file called modindex.html.
1999-02-24 17:13:54 +00:00
Fred Drake
711fe02ac3
process_nodes(): New function.
...
main(): Moved the node processing between input and ouptut to
process_nodes().
1999-02-24 16:36:48 +00:00
Guido van Rossum
4fe6caaaf0
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 ;-)
1999-02-24 16:25:17 +00:00
Barry Warsaw
72b715d979
(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.
1999-02-24 00:35:43 +00:00
Barry Warsaw
40db48c5ec
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.
1999-02-24 00:27:39 +00:00
Barry Warsaw
f2b4554403
Document the correct class hierarchy for SystemExit. It is not an
...
error and so it derives from Exception and not SystemError.
1999-02-24 00:27:14 +00:00
Guido van Rossum
83c03e2d94
Add import sys, needed by reference to sys.exc_info() in rmtree().
...
Discovered by Mitch Chapman.
1999-02-23 23:07:51 +00:00
Fred Drake
b6cf9a4fc4
Script to help identify undocumented modules. Use -h or --help for
...
usage information.
1999-02-23 23:07:48 +00:00
Fred Drake
8cdee961bf
Dictionaries are created using the "{...}" notation, not the "..."
...
notation. Problem reported by Magnus L. Hetland <mlh@idt.ntnu.no>.
1999-02-23 18:50:38 +00:00
Guido van Rossum
3366d1c7e6
# Typo in docstring (Retrun -> Return).
1999-02-23 18:34:43 +00:00
Guido van Rossum
79e8f1b773
# the usual
1999-02-23 18:07:51 +00:00
Guido van Rossum
3f2c383a7e
Now that we don't have AC_CHECK_LIB(m, pow), the HAVE_LIBM symbol
...
disappears. It wasn't used anywhere anyway...
1999-02-23 18:07:31 +00:00
Guido van Rossum
3791b0de36
Carefully check for overflow when allocating the memory for fromfile
...
-- someone tried to pass in sys.maxint and got bitten by the bogus
calculations.
1999-02-23 18:05:22 +00:00
Guido van Rossum
24f8579ee4
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.
1999-02-23 18:00:56 +00:00
Guido van Rossum
74ee886409
1. Print the error message (carefully) when a dl.open() fails in verbose mode.
...
2. When no test case worked, raise ImportError instead of failing.
1999-02-23 17:58:48 +00:00
Guido van Rossum
264bd59221
1. Clarify that immutability isn't entirely the same as unchangeable
...
value (because of immutable containers containing mutable objects).
2. Document that func_code, func_defaults and func_doc / __doc__ are
now writable.
1999-02-23 16:40:55 +00:00
Guido van Rossum
124eff0225
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).
1999-02-23 16:11:01 +00:00
Guido van Rossum
717d1fdf2a
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.
1999-02-23 15:43:15 +00:00
Guido van Rossum
027188a382
According to Jeffrey Honig, bsd/os 2.0 - 4.0 should be added to the
...
list (of bsd variants that have a different lock structure).
1999-02-23 04:14:32 +00:00
Guido van Rossum
5ef8f0c3c7
According to Jeffrey Honig, bsd/os 4.0 should be added to the list.
1999-02-23 04:13:37 +00:00
Guido van Rossum
c222ec28a5
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.
1999-02-23 00:00:10 +00:00
Fred Drake
1ec71cb556
Incorporated updates to describe geturl() by Sjoerd Mullender
...
<Sjoerd.Mullender@cwi.nl>.
1999-02-22 22:42:14 +00:00
Guido van Rossum
4505895e68
As Des Barry points out, we need to call pathname2url(file) in two
...
calls to addinfourl() in open_file().
1999-02-22 19:01:42 +00:00
Fred Drake
ba21d10d9b
Added note about *static* after description of *shared*.
1999-02-22 18:21:17 +00:00
Guido van Rossum
b71c570f01
Document *static* -- in two places!
1999-02-22 18:11:18 +00:00
Fred Drake
00a3a65cc0
Refer to the right RFC in the intro.
1999-02-22 17:12:42 +00:00
Guido van Rossum
360eb9f278
We don't support leap seconds, so the seconds field of a time 9-tuple
...
should be in the range [0-59]. Noted by Tadayoshi Funaba.
1999-02-22 16:19:52 +00:00
Guido van Rossum
5bd69db9f0
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.
1999-02-22 16:18:44 +00:00
Fred Drake
0fb7a37667
Reflect the released version.
1999-02-22 15:58:09 +00:00
Guido van Rossum
fb801e7d33
As Finn Bock points out, _P_WAIT etc. don't have a leading underscore
...
so they don't need to be treated specially here.
1999-02-22 15:40:34 +00:00
Fred Drake
0df2188d08
Typo: "apparentlt" --> "apparently"
1999-02-22 15:38:58 +00:00
Guido van Rossum
974e32d910
Steve Clift pointed out that 'file' allows a netloc.
1999-02-22 15:38:46 +00:00
Guido van Rossum
61eeb044d7
The docstring for ttyname(..) claims a second "mode" argument. The
...
actual code does not allow such an argument. (Finn Bock.)
1999-02-22 15:29:15 +00:00
Guido van Rossum
11a8d0b684
Dang. Even though this is obsolete code, somebody found a bug, and I
...
fix it. Oh well.
1999-02-22 15:19:47 +00:00
Fred Drake
9226d8e8a8
Removed "This will be discussed later." where it's not. Reported by
...
Clay Spence <cspence@sarnoff.com>; see entry in ../TODO.
1999-02-22 14:55:46 +00:00
Fred Drake
7d9b13325d
Other chapter titles refer to collections of modules as "Services"; do
...
the same here.
1999-02-22 14:48:00 +00:00
Fred Drake
8ece8041c5
Noted report of missing material in the extending & embedding manual,
...
as reported by Clay Spence <cspence@sarnoff.com>.
1999-02-22 14:37:18 +00:00
Fred Drake
c411fa6861
Revised description of blank line handling for the interpreter, based
...
on a comment from /F.
1999-02-22 14:32:18 +00:00
Fred Drake
fab41f1788
BabylMailbox description: Properly escape the backslashes in the
...
string representations.
1999-02-22 14:26:16 +00:00
Fred Drake
b63e77ccb0
Oops, used a \label twice - fix one of them.
1999-02-22 14:14:48 +00:00
Fred Drake
180b68b3cf
More reasonable section titles.
1999-02-22 13:45:09 +00:00
Fred Drake
76991ec75a
Shorten section title.
1999-02-20 05:20:49 +00:00
Fred Drake
199b79c37b
Added descriptions for BabylMailbox and Maildir (Qmail) mailbox
...
objects.
1999-02-20 05:04:59 +00:00
Fred Drake
67d229ea76
Shorten section title.
1999-02-20 04:51:16 +00:00
Fred Drake
bbac43223c
Shorten a few section titles.
1999-02-20 00:14:17 +00:00
Fred Drake
da57365337
Give subsections reasonable file names in the HTML.
1999-02-19 23:48:05 +00:00