]> granicus.if.org Git - python/log
python
26 years agocreate_module_info(): New function: Modify a <section> to create a
Fred Drake [Thu, 10 Dec 1998 20:25:30 +0000 (20:25 +0000)]
create_module_info():  New function:  Modify a <section> to create a
<moduleinfo> element based on various meta information, and
strip some cruftiness.  This is more usable for information
extraction, and organizes the information more clearly.

cleanup_synopses():  Rewrite to use create_module_info(), so this
will work with multi-rooted "documents".

26 years agoRemove another {\rm ...} construct.
Fred Drake [Thu, 10 Dec 1998 19:57:52 +0000 (19:57 +0000)]
Remove another {\rm ...} construct.

Sheesh, where do these things come from?

26 years agoDon't pass around a list of known empty elements, since the ESIS
Fred Drake [Thu, 10 Dec 1998 18:31:37 +0000 (18:31 +0000)]
Don't pass around a list of known empty elements, since the ESIS
contains "e" events for them.  This wasn't used anyway.

26 years agoRemove prototypes for PyOS_strto[u]l -- Chris Herborth.
Guido van Rossum [Thu, 10 Dec 1998 16:57:44 +0000 (16:57 +0000)]
Remove prototypes for PyOS_strto[u]l -- Chris Herborth.

26 years agoAdd more SET_LINENO instructions in long argument lists
Guido van Rossum [Thu, 10 Dec 1998 16:56:22 +0000 (16:56 +0000)]
Add more SET_LINENO instructions in long argument lists

26 years agoRemove prototype for PyOS_strtol -- Chris Herborth.
Guido van Rossum [Thu, 10 Dec 1998 16:54:48 +0000 (16:54 +0000)]
Remove prototype for PyOS_strtol -- Chris Herborth.

26 years agoAdd prototypes for PyOS_strto[u]l -- Chris Herborth.
Guido van Rossum [Thu, 10 Dec 1998 16:54:17 +0000 (16:54 +0000)]
Add prototypes for PyOS_strto[u]l -- Chris Herborth.

26 years agoNeed to define DL_EXPORT, of course!
Guido van Rossum [Thu, 10 Dec 1998 16:50:49 +0000 (16:50 +0000)]
Need to define DL_EXPORT, of course!

26 years agoNo longer needed.
Guido van Rossum [Thu, 10 Dec 1998 16:50:14 +0000 (16:50 +0000)]
No longer needed.

26 years agoNeeded to add DL_EXPORT to (redundant?) extern decl of module init function.
Guido van Rossum [Thu, 10 Dec 1998 16:49:28 +0000 (16:49 +0000)]
Needed to add DL_EXPORT to (redundant?) extern decl of module init function.

26 years agoAdded a transform to start cleaning up the modulesynopsis stuff a
Fred Drake [Thu, 10 Dec 1998 05:07:09 +0000 (05:07 +0000)]
Added a transform to start cleaning up the modulesynopsis stuff a
little; more thinking is needed about what we really want.

26 years agoNits.
Fred Drake [Thu, 10 Dec 1998 05:04:21 +0000 (05:04 +0000)]
Nits.

26 years agoHandle SGML variant as well as XML variant. SGML is *much* more
Fred Drake [Thu, 10 Dec 1998 04:56:00 +0000 (04:56 +0000)]
Handle SGML variant as well as XML variant.  SGML is *much* more
likely to be used.

26 years agoRemoving the BeOS specific 'ar' utility -- no longer needed,
Guido van Rossum [Wed, 9 Dec 1998 22:24:27 +0000 (22:24 +0000)]
Removing the BeOS specific 'ar' utility -- no longer needed,
says Chris Herborth.

26 years agoIn read_multi, allow a subclass to override the class we instantiate
Guido van Rossum [Wed, 9 Dec 1998 22:16:46 +0000 (22:16 +0000)]
In read_multi, allow a subclass to override the class we instantiate
when we create a recursive instance, by setting the class variable
'FieldStorageClass' to the desired class.  By default, this is set to
None, in which case we use self.__class__ (as before).

26 years agoIn __getslice__, use self.__class__ instead of UserList.
Guido van Rossum [Wed, 9 Dec 1998 22:15:01 +0000 (22:15 +0000)]
In __getslice__, use self.__class__ instead of UserList.

26 years agoSjoerd Mullender writes:
Guido van Rossum [Wed, 9 Dec 1998 17:05:33 +0000 (17:05 +0000)]
Sjoerd Mullender writes:

The example Makefile.pre.in should also look at Setup.thread and
Setup.local.  Otherwise modules such as thread don't get incorporated
in extensions.

26 years agoMoved to Python 1.5.2/Lib
Guido van Rossum [Tue, 8 Dec 1998 20:39:36 +0000 (20:39 +0000)]
Moved to Python 1.5.2/Lib

26 years agoUpdate the descriptions of strftime() and strptime() to avoid
Fred Drake [Tue, 8 Dec 1998 19:59:36 +0000 (19:59 +0000)]
Update the descriptions of strftime() and strptime() to avoid
confusion, and describe what the "directives" are about.

26 years agoMake VC++ 5.0 compiler happy.
Guido van Rossum [Tue, 8 Dec 1998 17:37:19 +0000 (17:37 +0000)]
Make VC++ 5.0 compiler happy.

26 years agoCorrect the poplib example. Stephan Richter pointed out some problems
Guido van Rossum [Tue, 8 Dec 1998 16:30:10 +0000 (16:30 +0000)]
Correct the poplib example.  Stephan Richter pointed out some problems
with it.

26 years agoCorrectly document atan2.
Guido van Rossum [Tue, 8 Dec 1998 16:27:10 +0000 (16:27 +0000)]
Correctly document atan2.

26 years agoRename the parameters of atan2(), based on comments from Guido & Peter
Fred Drake [Tue, 8 Dec 1998 16:10:44 +0000 (16:10 +0000)]
Rename the parameters of atan2(), based on comments from Guido & Peter
A. Koren <pkoren@hex.net>.

26 years agoSjoerd patches the previous patch:
Guido van Rossum [Tue, 8 Dec 1998 13:25:00 +0000 (13:25 +0000)]
Sjoerd patches the previous patch:

In literal mode, also don't do anything about entity and character
references, or about closing CDATA elements.

26 years agoUndo the change here -- there's no point in declaring a static
Guido van Rossum [Tue, 8 Dec 1998 13:23:22 +0000 (13:23 +0000)]
Undo the change here -- there's no point in declaring a static
function as DL_IMPORT()!

26 years agoSjoerd writes:
Guido van Rossum [Mon, 7 Dec 1998 21:59:56 +0000 (21:59 +0000)]
Sjoerd writes:

When literal mode is entered it should exit automatically when the
matching close tag of the last unclosed open tag is encountered.  This
patch fixes this.

26 years agoAdding thread support for BeOS by Chris Herborth.
Guido van Rossum [Mon, 7 Dec 1998 21:56:59 +0000 (21:56 +0000)]
Adding thread support for BeOS by Chris Herborth.

26 years ago"singed" --> "signed" (3 places)
Fred Drake [Mon, 7 Dec 1998 17:13:18 +0000 (17:13 +0000)]
"singed" --> "signed" (3 places)

Noticed by Andrew MacIntyre <andymac@bullseye.apana.org.au>.

26 years agoPy_Main() must be DL_EXPORT too.
Guido van Rossum [Mon, 7 Dec 1998 14:28:47 +0000 (14:28 +0000)]
Py_Main() must be DL_EXPORT too.

26 years agoPatch by Jeff Rush:
Guido van Rossum [Mon, 7 Dec 1998 04:08:30 +0000 (04:08 +0000)]
Patch by Jeff Rush:

In SimpleHTTPServer.py, the server specified in test() should
be BaseHTTPServer.HTTPServer, in case the request handler should
want to reference the two attributes added by
BaseHTTPServer.server_bind:

        self.server_name = hostname
        self.server_port = port

There was some Bobo CGI code that wanted access to those attributes.

26 years agoPatch by Jeff Rush:
Guido van Rossum [Mon, 7 Dec 1998 04:08:03 +0000 (04:08 +0000)]
Patch by Jeff Rush:

In CGIHTTPServer.py, the list of acceptable formats is -split-
on spaces but -joined- on commas, resulting in double commas
in the joined text.  It appears harmless to my browser but
ought to be fixed anyway.

    'A, B, C' -> 'A,', 'B,', 'C,' -> 'A,,B,,C'

26 years agoOpen the file in binary mode -- so serving images from a Windows box
Guido van Rossum [Mon, 7 Dec 1998 03:53:18 +0000 (03:53 +0000)]
Open the file in binary mode -- so serving images from a Windows box
might actually work.

26 years agointermediate
Barry Warsaw [Sat, 5 Dec 1998 22:19:06 +0000 (22:19 +0000)]
intermediate

26 years agoFixed some bugs
Barry Warsaw [Sat, 5 Dec 1998 22:07:24 +0000 (22:07 +0000)]
Fixed some bugs

26 years agoFixed typos in --dump
Barry Warsaw [Sat, 5 Dec 1998 21:15:41 +0000 (21:15 +0000)]
Fixed typos in --dump

26 years agoClarify evaluation of default arguments at def time with more text and
Guido van Rossum [Fri, 4 Dec 1998 19:37:10 +0000 (19:37 +0000)]
Clarify evaluation of default arguments at def time with more text and
an example.

26 years agoAdded Doc strings -- by Chris Petrilli.
Guido van Rossum [Fri, 4 Dec 1998 19:26:43 +0000 (19:26 +0000)]
Added Doc strings -- by Chris Petrilli.

26 years agoWhen comparing bound methods, use identity test on the objects,
Guido van Rossum [Fri, 4 Dec 1998 18:52:55 +0000 (18:52 +0000)]
When comparing bound methods, use identity test on the objects,
not equality test.

26 years agoUse PyInt_AS_LONG macro instead of explicit inlining.
Guido van Rossum [Fri, 4 Dec 1998 18:51:36 +0000 (18:51 +0000)]
Use PyInt_AS_LONG macro instead of explicit inlining.

26 years agoOne more fprintf bites the dist -- use PySys_WriteStderr
Guido van Rossum [Fri, 4 Dec 1998 18:51:01 +0000 (18:51 +0000)]
One more fprintf bites the dist -- use PySys_WriteStderr

26 years agoNeed to add default decl of DL_IMPORT, for mymalloc.h
Guido van Rossum [Fri, 4 Dec 1998 18:50:20 +0000 (18:50 +0000)]
Need to add default decl of DL_IMPORT, for mymalloc.h

26 years agoAdd DL_EXPORT() to all modules that could possibly be used
Guido van Rossum [Fri, 4 Dec 1998 18:50:17 +0000 (18:50 +0000)]
Add DL_EXPORT() to all modules that could possibly be used
on BeOS or Windows.

26 years agoFix two small bugs; add DL_EXPORT() to initcPickle decl.
Guido van Rossum [Fri, 4 Dec 1998 18:48:44 +0000 (18:48 +0000)]
Fix two small bugs; add DL_EXPORT() to initcPickle decl.

26 years agoAdd DL_IMPORT(returntype) for all officially exported functions.
Guido van Rossum [Fri, 4 Dec 1998 18:48:25 +0000 (18:48 +0000)]
Add DL_IMPORT(returntype) for all officially exported functions.

26 years agoTurtle graphics
Guido van Rossum [Fri, 4 Dec 1998 16:42:46 +0000 (16:42 +0000)]
Turtle graphics

26 years agoBernard Herzog pointed out that rl_parse_and_bind modifies its
Guido van Rossum [Fri, 4 Dec 1998 15:34:39 +0000 (15:34 +0000)]
Bernard Herzog pointed out that rl_parse_and_bind modifies its
argument string (bad function!), so we make a temporary copy.

26 years agoAdd explicit example on how to import a submodule of a package using
Guido van Rossum [Fri, 4 Dec 1998 15:32:17 +0000 (15:32 +0000)]
Add explicit example on how to import a submodule of a package using
__import__ and getattr().

26 years agoAdded Helpwin -- help in a text widget
Barry Warsaw [Thu, 3 Dec 1998 19:50:24 +0000 (19:50 +0000)]
Added Helpwin -- help in a text widget

26 years agoUntabification and other cruft
Barry Warsaw [Thu, 3 Dec 1998 19:49:45 +0000 (19:49 +0000)]
Untabification and other cruft

26 years agodocstring(): Function for returning __doc__ % globals()
Barry Warsaw [Thu, 3 Dec 1998 19:49:13 +0000 (19:49 +0000)]
docstring(): Function for returning __doc__ % globals()

26 years agoaudiopy: slightly revamped UI... includes a menubar, no quit button,
Barry Warsaw [Thu, 3 Dec 1998 19:32:38 +0000 (19:32 +0000)]
audiopy: slightly revamped UI... includes a menubar, no quit button,
and added a `Help' menu item that puts the README (or docstring if
that can't be found) in a scrolling text widget.

README: fixed a few nits

26 years agoNew API version (enough has changed!).
Guido van Rossum [Thu, 3 Dec 1998 18:18:12 +0000 (18:18 +0000)]
New API version (enough has changed!).

26 years agoInitial version of the README file
Barry Warsaw [Thu, 3 Dec 1998 16:27:38 +0000 (16:27 +0000)]
Initial version of the README file

26 years agoGeneral comments on what's here and how to try it out. Note
Fred Drake [Wed, 2 Dec 1998 17:21:35 +0000 (17:21 +0000)]
General comments on what's here and how to try it out.  Note
dependence on the XML package.

26 years agoMoved NotImplementedError into alphabetical order, and reword
Barry Warsaw [Tue, 1 Dec 1998 19:48:04 +0000 (19:48 +0000)]
Moved NotImplementedError into alphabetical order, and reword
description.

26 years agoAdded documentation for NotImplementedError. Fred (I'm sure) will
Barry Warsaw [Tue, 1 Dec 1998 19:19:21 +0000 (19:19 +0000)]
Added documentation for NotImplementedError.  Fred (I'm sure) will
sanitize for your protection :-)

26 years agoSupport conversions to both SGML and XML; SGML is the "default".
Fred Drake [Tue, 1 Dec 1998 19:05:56 +0000 (19:05 +0000)]
Support conversions to both SGML and XML; SGML is the "default".

Add dependency on esistools.py for the ESIS intermediate files.

26 years agoUse esistools.
Fred Drake [Tue, 1 Dec 1998 19:04:12 +0000 (19:04 +0000)]
Use esistools.
Lots of changes to the conversion table.

26 years agoUse esistools.
Fred Drake [Tue, 1 Dec 1998 19:03:01 +0000 (19:03 +0000)]
Use esistools.
Generate ESIS data instead of XML.
Misc. changes to some transforms.

26 years agoUse esistools, getopt.
Fred Drake [Tue, 1 Dec 1998 19:01:53 +0000 (19:01 +0000)]
Use esistools, getopt.

26 years agoUtility functions and misc. classes used in handling ESIS data.
Fred Drake [Tue, 1 Dec 1998 19:00:58 +0000 (19:00 +0000)]
Utility functions and misc. classes used in handling ESIS data.

26 years agoIgnore the byproducts of SGML/XML conversions for now.
Fred Drake [Tue, 1 Dec 1998 18:58:28 +0000 (18:58 +0000)]
Ignore the byproducts of SGML/XML conversions for now.

26 years agoAdded new builtin standard exception: NotImplementedError (its C
Barry Warsaw [Tue, 1 Dec 1998 18:52:06 +0000 (18:52 +0000)]
Added new builtin standard exception: NotImplementedError (its C
counterpart is PyExc_NotImplementedError).

26 years agoNits to support conversions.
Fred Drake [Tue, 1 Dec 1998 18:37:59 +0000 (18:37 +0000)]
Nits to support conversions.

26 years agoAdded NotImplementedError, subclassed from RuntimeError
Barry Warsaw [Tue, 1 Dec 1998 18:36:30 +0000 (18:36 +0000)]
Added NotImplementedError, subclassed from RuntimeError

26 years agoAdded PyExc_NotImplementedError
Barry Warsaw [Tue, 1 Dec 1998 18:34:01 +0000 (18:34 +0000)]
Added PyExc_NotImplementedError

26 years agoNits to support conversions.
Fred Drake [Mon, 30 Nov 1998 22:58:12 +0000 (22:58 +0000)]
Nits to support conversions.

26 years agoRemove $(CUTCRUFT) garbage; now in fixgenents.sh.
Fred Drake [Mon, 30 Nov 1998 22:31:45 +0000 (22:31 +0000)]
Remove $(CUTCRUFT) garbage; now in fixgenents.sh.

Separate ESIS generation from XML generation.  This will evolve a bit
more in a couple of days.

26 years agoMove nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up
Fred Drake [Mon, 30 Nov 1998 22:30:29 +0000 (22:30 +0000)]
Move nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up
make.rules.

26 years agoFix minor nit with respect to conversion.
Fred Drake [Mon, 30 Nov 1998 22:14:58 +0000 (22:14 +0000)]
Fix minor nit with respect to conversion.

Update some logical markup.

26 years agoRemove {\rm ...} constructs.
Fred Drake [Mon, 30 Nov 1998 21:53:47 +0000 (21:53 +0000)]
Remove {\rm ...} constructs.

26 years agoRemove some remaining {\rm ...} constructs.
Fred Drake [Mon, 30 Nov 1998 21:51:25 +0000 (21:51 +0000)]
Remove some remaining {\rm ...} constructs.

Update logical markup in a few spots.

26 years agoChange "for" explanation slightly based on comment passed along by
Fred Drake [Mon, 30 Nov 1998 20:37:24 +0000 (20:37 +0000)]
Change "for" explanation slightly based on comment passed along by
Blake Winton <BlakeW@pcdocs.com>.

26 years agol2hoption: Do the "right thing" to quote the right-hand-side of Perl
Fred Drake [Mon, 30 Nov 1998 20:30:26 +0000 (20:30 +0000)]
l2hoption:  Do the "right thing" to quote the right-hand-side of Perl
assignments.  This allows '"', '$', and '@' to be included in
the values passed to parameters like --address.

26 years agoAdd a --address parameter to the mkhowto command line to direct
Fred Drake [Mon, 30 Nov 1998 20:28:35 +0000 (20:28 +0000)]
Add a --address parameter to the mkhowto command line to direct
documentation comments appropriately.  In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.

Add dependency to about.dat.

26 years agoAdd a -address parameter to the LaTeX2HTML command line to direct
Fred Drake [Mon, 30 Nov 1998 20:27:31 +0000 (20:27 +0000)]
Add a -address parameter to the LaTeX2HTML command line to direct
documentation comments appropriately.  In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.

26 years agoOops, remove LaTeX2HTML version number. Could become wrong and isn't
Fred Drake [Mon, 30 Nov 1998 19:29:34 +0000 (19:29 +0000)]
Oops, remove LaTeX2HTML version number.  Could become wrong and isn't
needed, since it's always added to the comments in the page header
anyway.

26 years agodo_cmd_textohtmlinfopage(): Rip out most of the boilerplate and move
Fred Drake [Mon, 30 Nov 1998 19:25:47 +0000 (19:25 +0000)]
do_cmd_textohtmlinfopage():  Rip out most of the boilerplate and move
it to the about.dat file.  Only what really needs to be
generated is, and the remainder is easier to maintain than
Perl code.

26 years agoNew file. Contains boilerplate text for the "About this document..."
Fred Drake [Mon, 30 Nov 1998 19:24:13 +0000 (19:24 +0000)]
New file.  Contains boilerplate text for the "About this document..."
section of LaTeX2HTML-generated documents.

Includes credit to Christopher Petrilli for the navigation icons.

26 years agoMarkup nit to ease conversions.
Fred Drake [Mon, 30 Nov 1998 19:00:16 +0000 (19:00 +0000)]
Markup nit to ease conversions.

26 years agoMarkup improvements to help with conversions.
Fred Drake [Mon, 30 Nov 1998 18:59:44 +0000 (18:59 +0000)]
Markup improvements to help with conversions.

26 years agoRemove cruft from the old Texinfo conversion. This simplifies some of
Fred Drake [Mon, 30 Nov 1998 17:33:38 +0000 (17:33 +0000)]
Remove cruft from the old Texinfo conversion.  This simplifies some of
the newer processing.

26 years agoRemove bogus \@.
Fred Drake [Mon, 30 Nov 1998 16:27:37 +0000 (16:27 +0000)]
Remove bogus \@.

26 years agoMinor markup nit to ease conversion processing.
Fred Drake [Mon, 30 Nov 1998 16:26:50 +0000 (16:26 +0000)]
Minor markup nit to ease conversion processing.

26 years agoDo all the right imports. Problem reported by Martijn Faassen
Fred Drake [Mon, 30 Nov 1998 15:07:26 +0000 (15:07 +0000)]
Do all the right imports.  Problem reported by Martijn Faassen
<faassen@vet.uu.nl>.

26 years agoPatch by Jeff Bauer: a minor change to declare two new
Guido van Rossum [Mon, 30 Nov 1998 15:07:01 +0000 (15:07 +0000)]
Patch by Jeff Bauer: a minor change to declare two new
threaded versions of Unix Server classes, using the
ThreadingMixIn class:

    ThreadingUnixStreamServer
    ThreadingUnixDatagramServer

26 years agoSeveral small adjustments.
Fred Drake [Mon, 30 Nov 1998 14:45:24 +0000 (14:45 +0000)]
Several small adjustments.

26 years agoMake \var work correctly in math mode.
Fred Drake [Mon, 30 Nov 1998 14:42:59 +0000 (14:42 +0000)]
Make \var work correctly in math mode.

26 years agoHandle output of \geq and \leq.
Fred Drake [Mon, 30 Nov 1998 14:36:26 +0000 (14:36 +0000)]
Handle output of \geq and \leq.

26 years agoTypo
Guido van Rossum [Fri, 27 Nov 1998 03:19:20 +0000 (03:19 +0000)]
Typo

26 years agoSupport underlining of menu labels
Guido van Rossum [Fri, 27 Nov 1998 03:19:07 +0000 (03:19 +0000)]
Support underlining of menu labels

26 years agoNew approach, separate tables for menus (platform-independent) and key
Guido van Rossum [Fri, 27 Nov 1998 03:17:49 +0000 (03:17 +0000)]
New approach, separate tables for menus (platform-independent) and key
definitions (platform-specific), and generating accelerator strings
automatically from the key definitions.

26 years agoLogical markup.
Fred Drake [Wed, 25 Nov 1998 22:38:24 +0000 (22:38 +0000)]
Logical markup.

Fix a few things for the conversion to structured markup.

Removed texinfo special cases, since there's likely a new info
process.

26 years agoFix remaining {\rm ...} construct.
Fred Drake [Wed, 25 Nov 1998 20:55:03 +0000 (20:55 +0000)]
Fix remaining {\rm ...} construct.

26 years agoRemove some optional parameters that are unnecessary in context.
Fred Drake [Wed, 25 Nov 1998 20:15:52 +0000 (20:15 +0000)]
Remove some optional parameters that are unnecessary in context.

26 years agoRemove bogus \@.
Fred Drake [Wed, 25 Nov 1998 20:07:35 +0000 (20:07 +0000)]
Remove bogus \@.

26 years agoRemove bogus \@.
Fred Drake [Wed, 25 Nov 1998 19:55:47 +0000 (19:55 +0000)]
Remove bogus \@.

26 years agoDo the right stuff to convert what was originally \e, \ldots, and ---
Fred Drake [Wed, 25 Nov 1998 19:28:02 +0000 (19:28 +0000)]
Do the right stuff to convert what was originally \e, \ldots, and ---
in the LaTeX sources.

26 years agoRemove two remaining {\tt ...} constructs.
Fred Drake [Wed, 25 Nov 1998 19:23:33 +0000 (19:23 +0000)]
Remove two remaining {\tt ...} constructs.

26 years agoRemove two remaining {\tt ...} constructs.
Fred Drake [Wed, 25 Nov 1998 19:09:24 +0000 (19:09 +0000)]
Remove two remaining {\tt ...} constructs.