]> granicus.if.org Git - python/log
python
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.

26 years agoClarify that min and max also take multiple arguments.
Guido van Rossum [Wed, 25 Nov 1998 18:53:05 +0000 (18:53 +0000)]
Clarify that min and max also take multiple arguments.

26 years agoMassive change to just about every construct that impacts the index.
Fred Drake [Wed, 25 Nov 1998 17:58:50 +0000 (17:58 +0000)]
Massive change to just about every construct that impacts the index.

Blame it on Just.  ;-)

26 years agoMarkup nits.
Fred Drake [Wed, 25 Nov 1998 17:51:15 +0000 (17:51 +0000)]
Markup nits.

Fixed an index entry, added three more.

26 years agoMinor fixups to some index entries.
Fred Drake [Wed, 25 Nov 1998 17:48:10 +0000 (17:48 +0000)]
Minor fixups to some index entries.

26 years agoMinor adjustments to a few index entries.
Fred Drake [Wed, 25 Nov 1998 17:40:00 +0000 (17:40 +0000)]
Minor adjustments to a few index entries.

26 years agoMinor nit that fixes a bunch of indexing: the way the classdesc
Fred Drake [Wed, 25 Nov 1998 17:13:28 +0000 (17:13 +0000)]
Minor nit that fixes a bunch of indexing:  the way the classdesc
environment saves the name of the last class described, method and
member descriptions were not picking it up correctly.  Thus, many
index entries were described as "( method)" instead of "(FooClass
method)".  Multiple entries were collapsed in the index when
methods/members from multiple classes share the same name.

26 years agoFix indexing of func_code attribute; this is on a function, not a code
Fred Drake [Wed, 25 Nov 1998 17:09:19 +0000 (17:09 +0000)]
Fix indexing of func_code attribute; this is on a function, not a code
object.

Add "()" to method names indexed using \ttindex{}.

26 years agoNew version from Jim Fulton:
Guido van Rossum [Wed, 25 Nov 1998 16:18:00 +0000 (16:18 +0000)]
New version from Jim Fulton:

  - New copyright. (Open source)

  - Added new protocol for binary string pickles that
    takes out unneeded puts:

      p=Pickler()
      p.dump(x)
      p.dump(y)
      thePickle=p.getvalue()

    This has little or no impact on pickling time, but
    often reduces unpickling time and pickle size, sometimes
    significantly.

  - Changed unpickler to use internal data structure instead
    of list to reduce unpickling times by about a third.

  - Many cleanups to get rid of obfuscated error handling
    involving 'goto finally' and status variables.

  - Extensive reGuidofication. (formatting :)

  - Fixed binary floating-point pickling bug. 0.0 was not
    pickled correctly.

  - Now use binary floating point format when saving
    floats in binary mode.

  - Fixed some error message spelling error.

26 years agoNew version from Jim Fulton:
Guido van Rossum [Wed, 25 Nov 1998 16:17:32 +0000 (16:17 +0000)]
New version from Jim Fulton:

  - New copyright. (Open source)

  - Fixed problem in seek method.  The seek method should (and now does)
    fill with nulls when seeking past the end of the "file".

26 years agoWrong pathname in docstring detected by Fredrik Nehr.
Guido van Rossum [Wed, 25 Nov 1998 15:57:47 +0000 (15:57 +0000)]
Wrong pathname in docstring detected by Fredrik Nehr.

26 years agoSupplemental rules to convert a .tex file to a .xml file. Both XML and
Fred Drake [Tue, 24 Nov 1998 17:40:33 +0000 (17:40 +0000)]
Supplemental rules to convert a .tex file to a .xml file.  Both XML and
SGML will be supported soon, probably using an ESIS representation saved
in a temp file.

26 years agoScript to convert things like <C/> and <Cpp/> to &C; and &Cpp;. This is
Fred Drake [Tue, 24 Nov 1998 17:38:49 +0000 (17:38 +0000)]
Script to convert things like <C/> and <Cpp/> to &C; and &Cpp;.  This is
something that con't be done with the DOM as far as I can tell.

26 years agoRationalize a word-space markup to not break in the LaTeX->*ML
Fred Drake [Tue, 24 Nov 1998 17:07:29 +0000 (17:07 +0000)]
Rationalize a word-space markup to not break in the LaTeX->*ML
conversion tools currently being constructed.

Add a chapter from Jim Fulton on using Misc/Makefile.pre.in.  Still
preliminary.  The "Dynamic Loading" chapter needs to be updated (and
possibly removed, since it's no longer an issue for most (any?)
users.

26 years agoThe & character is also escaped using \.
Fred Drake [Mon, 23 Nov 1998 23:11:12 +0000 (23:11 +0000)]
The & character is also escaped using \.

26 years agoAdd some additional cleanup transformations.
Fred Drake [Mon, 23 Nov 1998 23:10:35 +0000 (23:10 +0000)]
Add some additional cleanup transformations.

26 years agoFix cosmetic bug in delattr docstring discovered by JvR.
Guido van Rossum [Mon, 23 Nov 1998 22:13:04 +0000 (22:13 +0000)]
Fix cosmetic bug in delattr docstring discovered by JvR.

26 years agoWhoops! One the "redundant" initializations removed by Vladimir in
Guido van Rossum [Mon, 23 Nov 1998 21:09:51 +0000 (21:09 +0000)]
Whoops!  One the "redundant" initializations removed by Vladimir in
the previous patch wasn't -- there was a path through the code that
bypassed all initializations.  Thanks to Just for reporting the bug!

26 years agoFix comment regex so we don't screw up structured comments with
Fred Drake [Mon, 23 Nov 1998 18:21:54 +0000 (18:21 +0000)]
Fix comment regex so we don't screw up structured comments with
different internal indentation levels.

26 years agoRewrote the section on sys.exit(), documenting other argument types
Guido van Rossum [Mon, 23 Nov 1998 17:49:53 +0000 (17:49 +0000)]
Rewrote the section on sys.exit(), documenting other argument types
than integers and recommending sys.exit("message").
(I see this as Python's answer to Perls ``die "message";''.)

26 years agoScript to squirrel around with the DOM tree of document fragments from the
Fred Drake [Mon, 23 Nov 1998 17:02:03 +0000 (17:02 +0000)]
Script to squirrel around with the DOM tree of document fragments from the
LaTeX-based ESIS streams to be a little better structured, and generally
perform clean-up.

Preliminary.

26 years agoMoved into tools/sgmlconv/.
Fred Drake [Mon, 23 Nov 1998 16:59:39 +0000 (16:59 +0000)]
Moved into tools/sgmlconv/.

26 years agoMoving to sgmlconv/ subdir.
Fred Drake [Mon, 23 Nov 1998 16:58:48 +0000 (16:58 +0000)]
Moving to sgmlconv/ subdir.

26 years agoFix up the extraction of optional parameters a little.
Fred Drake [Mon, 23 Nov 1998 16:30:18 +0000 (16:30 +0000)]
Fix up the extraction of optional parameters a little.

Be more informative in an exception message.

26 years agoDoc strings by Chris Petrilli.
Guido van Rossum [Mon, 23 Nov 1998 15:32:55 +0000 (15:32 +0000)]
Doc strings by Chris Petrilli.

26 years agoSome cleanup.
Fred Drake [Mon, 23 Nov 1998 15:14:18 +0000 (15:14 +0000)]
Some cleanup.

Don't duplicate the information on what's empty; rely on the input
data for that.  (This means that the DOM may need more work.)

26 years agoFix some minor problems.
Fred Drake [Mon, 23 Nov 1998 15:12:00 +0000 (15:12 +0000)]
Fix some minor problems.

Make the table of attribute information contain only one kind of
entry.  Simplifies some stuff in subconvert().

26 years ago(py-execute-region): Hack around the different behavior and switch
Barry Warsaw [Fri, 20 Nov 1998 03:04:07 +0000 (03:04 +0000)]
(py-execute-region): Hack around the different behavior and switch
semantics between CPython/JPython when the script source is piped to
stdin.

26 years agoFirst cut at a script to generate SGML/XML from an ESIS event stream,
Fred Drake [Wed, 18 Nov 1998 23:28:24 +0000 (23:28 +0000)]
First cut at a script to generate SGML/XML from an ESIS event stream,
probably only usable for the Python docs.  But also probably more
useful than latex2esis.py.

26 years agoFirst cut at a script to generate ESIS events from LaTeX source,
Fred Drake [Wed, 18 Nov 1998 23:27:24 +0000 (23:27 +0000)]
First cut at a script to generate ESIS events from LaTeX source,
probably only usable for the Python docs.

26 years agoBomb on deleting a temporary breakpoint: there's no method
Guido van Rossum [Wed, 18 Nov 1998 15:56:06 +0000 (15:56 +0000)]
Bomb on deleting a temporary breakpoint: there's no method
do_delete(); do_clear() was meant.  By Greg Ward.

26 years agoA little more tweakage
Barry Warsaw [Wed, 18 Nov 1998 03:45:09 +0000 (03:45 +0000)]
A little more tweakage

26 years agoA little more tweakage
Barry Warsaw [Wed, 18 Nov 1998 03:32:43 +0000 (03:32 +0000)]
A little more tweakage

26 years agoA bit of tweakage of the --help and --version options
Barry Warsaw [Wed, 18 Nov 1998 03:28:45 +0000 (03:28 +0000)]
A bit of tweakage of the --help and --version options

26 years ago(ChipViewer): Make frame sticky NSEW to fix geometry problem.
Barry Warsaw [Wed, 18 Nov 1998 03:15:19 +0000 (03:15 +0000)]
(ChipViewer): Make frame sticky NSEW to fix geometry problem.

26 years agotweak version number
Barry Warsaw [Wed, 18 Nov 1998 03:09:18 +0000 (03:09 +0000)]
tweak version number

26 years agoUpdate
Barry Warsaw [Wed, 18 Nov 1998 00:27:14 +0000 (00:27 +0000)]
Update

26 years agoUpdating
Barry Warsaw [Wed, 18 Nov 1998 00:21:09 +0000 (00:21 +0000)]
Updating

26 years agoEliminate remaining \verb/.../ constructs; there's no need for them.
Fred Drake [Tue, 17 Nov 1998 21:59:04 +0000 (21:59 +0000)]
Eliminate remaining \verb/.../ constructs; there's no need for them.