Guido van Rossum [Wed, 10 Mar 1999 05:17:28 +0000 (05:17 +0000)]
"Path browser" - 4 scrolled lists displaying:
directories on sys.path
modules in selected directory
classes in selected module
methods of selected class
Sinlge clicking in a directory, module or class item updates the next
column with info about the selected item. Double clicking in a
module, class or method item opens the file (and selects the clicked
item if it is a class or method).
I guess eventually I should be using a tree widget for this, but the
ones I've seen don't work well enough, so for now I use the old
Smalltalk or NeXT style multi-column hierarchical browser.
I had an off-by-1000 error in floatsleep(),
and the problem with time.clock() is that it's not implemented properly
on QNX... ANSI says it's supposed to return _CPU_ time used by the
process, but on QNX it returns the amount of real time used... so I was
confused.
Jack Jansen [Sun, 7 Mar 1999 23:11:21 +0000 (23:11 +0000)]
Offscreen bitmap support, first stab. PixMaps are still treated as ordinary
handles, not fullblown python objects, and UpdateGWorld returns a new GWorld
object in stead of modifying the existing one.
Fred Drake [Wed, 3 Mar 1999 20:24:30 +0000 (20:24 +0000)]
Re-written mkhowto in Python; this should be at least a little more
portable.
Several things that had been done by running a python script are now a
matter of importing the right module and running a function with a few
parameters.
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.