Guido van Rossum [Fri, 12 Mar 1999 00:12:21 +0000 (00:12 +0000)]
OK, try again. Vladimir gave me a fix for the alignment bus error,
so here's his patch again. This time it works (at least on Solaris,
Linux and Irix).
Guido van Rossum [Thu, 11 Mar 1999 16:37:13 +0000 (16:37 +0000)]
- Don't crash in the case where a superclass is a string instead of a
pyclbr.Class object; this can happen when the superclass is
unrecognizable (to pyclbr), e.g. when module renaming is used.
- Show a watch cursor when calling pyclbr (since it may take a while
recursively parsing imported modules!).
Fred Drake [Thu, 11 Mar 1999 16:04:04 +0000 (16:04 +0000)]
Added .rdf and .xsl as application/xml types. (.rdf is for the
Resource Description Framework, a metadata encoding, and .xsl is for
the Extensible Stylesheet Language.)
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.