]> granicus.if.org Git - python/log
python
27 years ago(1) Change normpath() to *not* also call normcase().
Guido van Rossum [Wed, 18 Feb 1998 13:48:31 +0000 (13:48 +0000)]
(1) Change normpath() to *not* also call normcase().

(2) Fix normcase() to use string.lower() and string.replace() -- it
turns out that the table constructed for translate() didn't work in
locales that have a different number of lowercase and uppercase
letters.

27 years agoAdd mktime_tz(). Add () to a function reference in parsedate_tz().
Guido van Rossum [Wed, 18 Feb 1998 05:09:14 +0000 (05:09 +0000)]
Add mktime_tz().  Add () to a function reference in parsedate_tz().

27 years agoFix sign reversal in mktime_tz discovered by Bill van Melle.
Guido van Rossum [Wed, 18 Feb 1998 05:06:30 +0000 (05:06 +0000)]
Fix sign reversal in mktime_tz discovered by Bill van Melle.

27 years ago__modified(): Make sure `rgbs' is a tuple
Barry Warsaw [Wed, 18 Feb 1998 00:06:20 +0000 (00:06 +0000)]
__modified(): Make sure `rgbs' is a tuple

27 years agoSeveral optimizations:
Barry Warsaw [Wed, 18 Feb 1998 00:05:59 +0000 (00:05 +0000)]
Several optimizations:

    self.__chips now contains the list of rgbtuple values for the
    chips named i - 1 (Tkinter counts from 1, we count from zero).
    The chip number was just the index + 1.  This means color lookup
    need not do an itemcget(), it can just index into __chips.

    instead of calling __canvas.itemconfigure(), we glom up a huge Tcl
    script and call tk.eval() directly.  Actually we do many appends
    to a Python list, then string.join() them together into one huge
    string.  This reduces the overhead of Tkinter but making one fast
    call to Tcl.

27 years agoCache conversions from triplets to rrggbb's and vice versa. Wasteful
Barry Warsaw [Wed, 18 Feb 1998 00:02:26 +0000 (00:02 +0000)]
Cache conversions from triplets to rrggbb's and vice versa.  Wasteful
on space, but improves performance.  Also use map to calculate
triplet_to_pmwrgb().

27 years agomain(): Include a \label{modindex} in the output so latex won't let us re-use
Fred Drake [Tue, 17 Feb 1998 23:13:19 +0000 (23:13 +0000)]
main():  Include a \label{modindex} in the output so latex won't let us re-use
the name elsewhere.  This is useful for the logical filenames project,
since the "modindex" label is hardcoded into .latex2html-init.

27 years ago&do_cmd_textohtmlmoduleindex: Get the modindex key added to the label->node
Fred Drake [Tue, 17 Feb 1998 23:11:40 +0000 (23:11 +0000)]
&do_cmd_textohtmlmoduleindex:  Get the modindex key added to the label->node
association.

27 years agoAdded \label{} for logical addressing.
Fred Drake [Tue, 17 Feb 1998 22:30:13 +0000 (22:30 +0000)]
Added \label{} for logical addressing.

27 years agoAdded about dialog
Barry Warsaw [Tue, 17 Feb 1998 22:25:23 +0000 (22:25 +0000)]
Added about dialog

27 years agoUse \manpage{} markup for referencing a UNIX man page.
Fred Drake [Tue, 17 Feb 1998 22:24:45 +0000 (22:24 +0000)]
Use \manpage{} markup for referencing a UNIX man page.

Added index entry for DES cipher.

27 years agoAdded comment explaining the only warning produced by makeindex, since there
Fred Drake [Tue, 17 Feb 1998 20:31:08 +0000 (20:31 +0000)]
Added comment explaining the only warning produced by makeindex, since there
doesn't appear to be a way to fix that's reasonable.

27 years agoRemove Macintosh ligatures item. Solution: Update your Times fonts.
Fred Drake [Tue, 17 Feb 1998 20:14:12 +0000 (20:14 +0000)]
Remove Macintosh ligatures item.  Solution:  Update your Times fonts.

Added native package semantics note.

27 years agoStarted a TODO list with the latest bug reports.
Fred Drake [Tue, 17 Feb 1998 19:01:02 +0000 (19:01 +0000)]
Started a TODO list with the latest bug reports.

In part prompted by questions from AMK.

27 years agoClarified comment about the PS generation when using the all-pdf target.
Fred Drake [Tue, 17 Feb 1998 18:20:30 +0000 (18:20 +0000)]
Clarified comment about the PS generation when using the all-pdf target.

27 years agoAdd magic to make PDF generation use maximal compression.
Fred Drake [Tue, 17 Feb 1998 15:56:55 +0000 (15:56 +0000)]
Add magic to make PDF generation use maximal compression.

27 years agoAdded all-formats target: use this to get both PDF and PS files; using the
Fred Drake [Tue, 17 Feb 1998 15:45:25 +0000 (15:45 +0000)]
Added all-formats target:  use this to get both PDF and PS files; using the
"alternate" rules for PDF generation doesn't ensure the PS files get
generated since distiller isn't used.

Switch to the "alternate" rules for PDF generation; this is starting to make
more sense than the distiller-based rule, and requires only free software.
I'm also confident it's working well (meaning I paged through all four
pdflatex-generated PDF files).

27 years agoUpdated date for interim documentation release.
Fred Drake [Tue, 17 Feb 1998 15:41:45 +0000 (15:41 +0000)]
Updated date for interim documentation release.

27 years agoIf generating PDF, include the author and title information in acroread's
Fred Drake [Tue, 17 Feb 1998 15:13:01 +0000 (15:13 +0000)]
If generating PDF, include the author and title information in acroread's
"File->General Info" dialog.

27 years agoMassive changes. Fewer warnings from the Python Library Reference. Still
Fred Drake [Tue, 17 Feb 1998 05:54:46 +0000 (05:54 +0000)]
Massive changes.  Fewer warnings from the Python Library Reference.  Still
messy, but the thing seems to be working without bombing completely today.
Formatting lib.texi with TeX doesn't seem to do too badly, either!

Info formatting isn't quite there; that might just have to disappear this
time.

27 years agoAdded chip selection stuff, strip label
Barry Warsaw [Tue, 17 Feb 1998 03:09:40 +0000 (03:09 +0000)]
Added chip selection stuff, strip label

27 years agoAdded method to set selected color to nearest.
Barry Warsaw [Tue, 17 Feb 1998 03:09:19 +0000 (03:09 +0000)]
Added method to set selected color to nearest.

Collapsed `Options' group into `Current Color' group

Set delegate of reds, greens, blues

27 years agoUpdate indexsubitem for file attributes correctly.
Fred Drake [Tue, 17 Feb 1998 02:11:21 +0000 (02:11 +0000)]
Update indexsubitem for file attributes correctly.

27 years ago\nodename{} must appear immediately after \section{} for the info conversion.
Fred Drake [Tue, 17 Feb 1998 02:10:41 +0000 (02:10 +0000)]
\nodename{} must appear immediately after \section{} for the info conversion.

27 years agoIndent {verbatim} environments like in the printed version.
Fred Drake [Mon, 16 Feb 1998 22:50:06 +0000 (22:50 +0000)]
Indent {verbatim} environments like in the printed version.

27 years agoMove optional package inclusions to the top, to make them easier to find.
Fred Drake [Mon, 16 Feb 1998 22:30:10 +0000 (22:30 +0000)]
Move optional package inclusions to the top, to make them easier to find.
Code elsewhere in this file tests for the inclusion of the package and does
not need to be uncommented.  Comments explain what they do and how to
disable them.

Added support for the optional "fancyhdr" package.  If used, page footers
include chapter information on the left and section information on the right.

Both optional packages, "fancyhdr" and "times", are enabled by default.  We
may want to disable them before shipping, but I'm not completely convinced.
(How many installations format their own documentation?)

27 years agoOh, well, various miscellaneous changes.
Guido van Rossum [Mon, 16 Feb 1998 22:19:21 +0000 (22:19 +0000)]
Oh, well, various miscellaneous changes.

27 years agoSwap two statements in the dedent check loop. This makes absolutely
Guido van Rossum [Mon, 16 Feb 1998 22:18:00 +0000 (22:18 +0000)]
Swap two statements in the dedent check loop.  This makes absolutely
no difference, but avoids triggering an optimizer bug in the AIX
compiler where the loop unrolling does the wrong thing...

27 years agoNNTP.xgtitle() description: Add a missing ")" from the response value
Fred Drake [Mon, 16 Feb 1998 21:57:37 +0000 (21:57 +0000)]
NNTP.xgtitle() description:  Add a missing ")" from the response value
description.

NNTP.xover() description:  Adjust some markup for consistency.

27 years agoMade the area for wildcards in the description wider, so we don't invade the
Fred Drake [Mon, 16 Feb 1998 21:37:58 +0000 (21:37 +0000)]
Made the area for wildcards in the description wider, so we don't invade the
left margin.

27 years agoFixed formatting of the program name for crypt.
Fred Drake [Mon, 16 Feb 1998 21:36:57 +0000 (21:36 +0000)]
Fixed formatting of the program name for crypt.

Added another index entry.

27 years agoIn the example file name, use the current Python version, not a hardcoded
Fred Drake [Mon, 16 Feb 1998 21:25:53 +0000 (21:25 +0000)]
In the example file name, use the current Python version, not a hardcoded
value.

Use logical markup.

27 years agoFor the lists which describe the regular expression syntax, increase the
Fred Drake [Mon, 16 Feb 1998 21:21:13 +0000 (21:21 +0000)]
For the lists which describe the regular expression syntax, increase the
width available so we don't run into the left page margin.

27 years agoUse \version to get the current Python version number, where possible. This
Fred Drake [Mon, 16 Feb 1998 20:58:58 +0000 (20:58 +0000)]
Use \version to get the current Python version number, where possible.  This
can only be done in the running text, and not in {verbatim} environments.

27 years agoMark up filename extensions consistently.
Fred Drake [Mon, 16 Feb 1998 20:40:37 +0000 (20:40 +0000)]
Mark up filename extensions consistently.

Logical markup.

27 years agoAdded rule to generate the PDF format using pdflatex. Commented out since
Fred Drake [Mon, 16 Feb 1998 17:06:10 +0000 (17:06 +0000)]
Added rule to generate the PDF format using pdflatex.  Commented out since
this is still experimental software.  See the comment.

27 years agoFixed the bug in searching for triple quotes -- change the 'quote2'
Guido van Rossum [Mon, 16 Feb 1998 15:42:50 +0000 (15:42 +0000)]
Fixed the bug in searching for triple quotes -- change the 'quote2'
variable from a pointer to an index, so a realloc() of the buffer
won't disturb it.  Problem found by Vladimir Marangozov.

27 years agoRemoved various "(New in 1.5a?!)" constructs. Other notes pertaining to
Fred Drake [Mon, 16 Feb 1998 15:27:08 +0000 (15:27 +0000)]
Removed various "(New in 1.5a?!)" constructs.  Other notes pertaining to
versioning remain intact.

27 years agoBreak up some long lines in the generated header & footer.
Fred Drake [Mon, 16 Feb 1998 15:23:11 +0000 (15:23 +0000)]
Break up some long lines in the generated header & footer.

27 years agoAndrew Kuchling writes:
Guido van Rossum [Mon, 16 Feb 1998 14:52:42 +0000 (14:52 +0000)]
Andrew Kuchling writes:

First, the RNG in whrandom.py sucks if you let it seed itself from the time.
The problem is the line:
t = int((t&0xffffff) | (t>>24))
Since it ORs the two parts together, the resulting value has mostly
ON bits.  Change | to ^, and you don't lose any randomness.

27 years ago"--" --> "---" in two places.
Fred Drake [Mon, 16 Feb 1998 14:47:27 +0000 (14:47 +0000)]
"--" --> "---" in two places.

27 years agoPlace C typedef for Py_complex after brief description, to be more consistent
Fred Drake [Mon, 16 Feb 1998 14:25:26 +0000 (14:25 +0000)]
Place C typedef for Py_complex after brief description, to be more consistent
with the other example of a structure description (struct _frozen).

Added index entries for the modules referenced in the document.

27 years agoAdded index enties for the Python built-in functions, where appropriate.
Fred Drake [Mon, 16 Feb 1998 06:23:20 +0000 (06:23 +0000)]
Added index enties for the Python built-in functions, where appropriate.

27 years agoLots of nitty-gritty stuff:
Fred Drake [Mon, 16 Feb 1998 06:15:35 +0000 (06:15 +0000)]
Lots of nitty-gritty stuff:

Use \emph{} when referring to title of any of the Python manuals, like is
done in the other manuals.

In some places, use \emph{} or \dfn{} instead of ``...''.

Use \samp{} instead of \code{} when marking identifier prefixes.

Use logical markup wherever it made sense.

Fixed a bunch of typos.

In several places, use "---" instead of "--" to get the emdash.

Start sentences with capital letters and end them with periods, as needed.

"it's" --> "its" in many places:  "it's" it *always* a contraction of "it is",
and "its" should always be used for the possessive.

"don't" --> "doesn't"

"should discards any" --> "should discard any"

In C function descriptions, use \var{} to mark parameters in the running
text instead of \code{}.  This matches usage in the other manauls better,
and is more consistent with the formatting of the function signatures.
Lots of little changes to implement this.

Lots of fixups needed due to appearant heavy cut-&-paste in the orignal
document.

Mention that the exception objects may be either classes or strings,
depending on the use of -X; they were unequivocally stated to be strings
in the section "Standard Exceptions".

"mkvalue()" --> "Py_BuildValue()"

Description of PyNumber_Power() indicates that the third value is option,
but not how to indicate that it was omitted.  Clarified.

Explain the behavior of PyString_FromStringAndSize() if the buffer is NULL.

Explain the Py_complex structure a little (tell what it's used for) and use
a {verbatim} environment for the structure definition itself.

Fix explanation of PyFile_SoftSpace().

Update the example version string to 1.5.

Combined the sections on defining new object types.

27 years agoMake sure indexes begin on odd-numbered pages.
Fred Drake [Mon, 16 Feb 1998 05:30:27 +0000 (05:30 +0000)]
Make sure indexes begin on odd-numbered pages.

27 years agoRemoved condition.py -- it was just sync.py without
Guido van Rossum [Sat, 14 Feb 1998 03:11:38 +0000 (03:11 +0000)]
Removed condition.py -- it was just sync.py without
the mrsw lock and without 'condition' allocating a lock by default

27 years agoAdded DJGPP version of check_case(), by Pit Scrorpion (Hans Nowak).
Guido van Rossum [Fri, 13 Feb 1998 23:27:59 +0000 (23:27 +0000)]
Added DJGPP version of check_case(), by Pit Scrorpion (Hans Nowak).

(BTW, the Mac version was by Jack Jansen.)

27 years agoNormalization of markup.
Fred Drake [Fri, 13 Feb 1998 22:22:36 +0000 (22:22 +0000)]
Normalization of markup.

27 years agoDon't capitalize identifiers at the beginning of the sentence; re-write to
Fred Drake [Fri, 13 Feb 1998 22:17:21 +0000 (22:17 +0000)]
Don't capitalize identifiers at the beginning of the sentence; re-write to
place them elsewhere so they get the right capitalization.

27 years agoFix some markup so that the right characters are printed.
Fred Drake [Fri, 13 Feb 1998 22:13:07 +0000 (22:13 +0000)]
Fix some markup so that the right characters are printed.

"EOF" --> "\EOF{}"

27 years agoCapitalize subsection title.
Fred Drake [Fri, 13 Feb 1998 22:10:21 +0000 (22:10 +0000)]
Capitalize subsection title.

27 years agoMake one paragraph wrap a little better.
Fred Drake [Fri, 13 Feb 1998 22:07:33 +0000 (22:07 +0000)]
Make one paragraph wrap a little better.

27 years agoCapitalize first word in sentences, use periods at end.
Fred Drake [Fri, 13 Feb 1998 21:57:33 +0000 (21:57 +0000)]
Capitalize first word in sentences, use periods at end.

27 years agoChange {datadesc} environments with empty descriptions to \dataline{}s; this
Fred Drake [Fri, 13 Feb 1998 21:55:21 +0000 (21:55 +0000)]
Change {datadesc} environments with empty descriptions to \dataline{}s; this
removes extra vertical space from the list of names, and makes the display
more similar to that used in the socket module, where several constants share
a description.

27 years agoIn description of sound_similar(), break up the markup for long
Fred Drake [Fri, 13 Feb 1998 21:49:12 +0000 (21:49 +0000)]
In description of sound_similar(), break up the markup for long
\code{} at each embedded space, so that the words will wrap.  This keeps
it from being too ugly.

27 years ago__validate(): test for None-age, not not-ness
Barry Warsaw [Fri, 13 Feb 1998 21:29:13 +0000 (21:29 +0000)]
__validate(): test for None-age, not not-ness

27 years agoget arrow movement, and text updating. also outlining of highlight
Barry Warsaw [Fri, 13 Feb 1998 21:28:47 +0000 (21:28 +0000)]
get arrow movement, and text updating.  also outlining of highlight

27 years agofixed the generators
Barry Warsaw [Fri, 13 Feb 1998 21:28:14 +0000 (21:28 +0000)]
fixed the generators

27 years agotriplet_to_pmwrgb(): New function
Barry Warsaw [Fri, 13 Feb 1998 21:27:56 +0000 (21:27 +0000)]
triplet_to_pmwrgb(): New function

27 years agoIn description of __import__, second paragraph, break up the markup for long
Fred Drake [Fri, 13 Feb 1998 21:26:35 +0000 (21:26 +0000)]
In description of __import__, second paragraph, break up the markup for long
\code{} at each embedded space, so that the words will wrap.  This keeps it
from running off the side of the page, and is only slightly weird.

27 years agoMinor stuff:
Fred Drake [Fri, 13 Feb 1998 20:59:25 +0000 (20:59 +0000)]
Minor stuff:

Explain what happens when a negative shift count is used (what exception).

Mark the title "Python Reference Manual" as \emph{}, for consistency.

"info" --> "information"

Tell more about the data attributes of file objects, using the {datadesc}
environment.

When refering the user to the language reference for information about
internal types, tell what internal types to expect information on.

27 years agoAdd case checking feature on import.
Guido van Rossum [Fri, 13 Feb 1998 17:18:36 +0000 (17:18 +0000)]
Add case checking feature on import.

This is an option for OS-es with case-insensitive but case-preserving
filesystems.  It is currently supported for Win32 and MacOS.  To
enable it, #define CHECK_IMPORT_CASE in your platform specific
config.h.  It is enabled by default on those systems where it is
supported.  On Win32, it can be disabled at runtime by setting the
environment variable PYTHONCASEOK (to any value).

When enabled, the feature checks that the case of the requested module
name matches that of the filename found in the filesystem, and raises
a NameError exception when they don't match.

27 years agoFix weirdness with single-page table of contents, reported by Guido.
Fred Drake [Fri, 13 Feb 1998 16:58:49 +0000 (16:58 +0000)]
Fix weirdness with single-page table of contents, reported by Guido.

27 years agoAdding output of test_xmllib.py
Guido van Rossum [Fri, 13 Feb 1998 16:35:21 +0000 (16:35 +0000)]
Adding output of test_xmllib.py

27 years ago&do_env_datadescni,
Fred Drake [Fri, 13 Feb 1998 15:08:36 +0000 (15:08 +0000)]
&do_env_datadescni,
&do_env_funcdescni:  New functions.  These support the non-indexing variety
of the {datadesc} and {funcdesc} environments.

There's still some flakiness with the new indexsubitem support, but that's
low priority.

27 years agoAdd "Pretty Good Privacy" as well as "PGP" to the index.
Fred Drake [Fri, 13 Feb 1998 14:52:17 +0000 (14:52 +0000)]
Add "Pretty Good Privacy" as well as "PGP" to the index.

27 years agoIn add_label_data() description, use "\samp{}" instead of "``\code{...}''"
Fred Drake [Fri, 13 Feb 1998 14:48:00 +0000 (14:48 +0000)]
In add_label_data() description, use "\samp{}" instead of "``\code{...}''"
to indicate the interpreted letters from the format string.

27 years agoUse "\samp{...}" instead of "``\code{...}''" when showing markup fragments
Fred Drake [Fri, 13 Feb 1998 14:38:23 +0000 (14:38 +0000)]
Use "\samp{...}" instead of "``\code{...}''" when showing markup fragments
in the running text.

For computed attribute and method names (where there's a \var{} part to
the name), use the non-indexing forms of \datadesc{} and \funcdesc{}.
This doesn't change the printed output, but removes 3 rejections from the
makeindex run and allows the LaTeX2HTML support to exclude these from the
index.

27 years agoUse "\samp{...}" instead of "``\code{...}''" when showing markup fragments
Fred Drake [Fri, 13 Feb 1998 14:37:12 +0000 (14:37 +0000)]
Use "\samp{...}" instead of "``\code{...}''" when showing markup fragments
in the running text.

For computed method names (where there's a \var{} part to the name), use
the non-indexing form of \funcdesc{}.  This doesn't change the printed
output, but removes 3 rejections from the makeindex run and allows the
LaTeX2HTML support to exclude these from the index.

27 years agoTwo new environments: datadescni and funcdescni. These are similar to
Fred Drake [Fri, 13 Feb 1998 14:34:04 +0000 (14:34 +0000)]
Two new environments:  datadescni and funcdescni.  These are similar to
datadesc and funcdesc, but don't add entries to the index.

27 years ago&get_indexsubitem: This now has a chance of working, thanks to:
Fred Drake [Fri, 13 Feb 1998 07:21:03 +0000 (07:21 +0000)]
&get_indexsubitem:  This now has a chance of working, thanks to:

&do_cmd_setindexsubitem:  New function.  Set the indexsubitem value from
\setindexsubitem{(...)}.

&do_env_opcodedesc:  By default, don't index byte codes.

$INDEX_OPCODES:  New flag.  If true, index the byte codes.  Default is off.

Normalize indentation to 4 spaces everywhere.

Minor nits.

27 years agoRemove \bcode / \ecode everywhere.
Fred Drake [Fri, 13 Feb 1998 07:16:30 +0000 (07:16 +0000)]
Remove \bcode / \ecode everywhere.

Make all the indentations in {verbatim} environments have column 0 of the
listing in column 0 of the file.

Remove pagenumbering / pagestyle cruft.

Use more logical and less physical markup.

27 years agoRemove \bcode / \ecode everywhere.
Fred Drake [Fri, 13 Feb 1998 07:11:32 +0000 (07:11 +0000)]
Remove \bcode / \ecode everywhere.

Make all the indentations in {verbatim} environments have column 0 of the
listing in column 0 of the file.

Remove pagenumbering / pagestyle cruft.

27 years agoRemove obsolete pagenumbering / pagestyle cruft.
Fred Drake [Fri, 13 Feb 1998 07:08:56 +0000 (07:08 +0000)]
Remove obsolete pagenumbering / pagestyle cruft.

27 years agoRemove all \bcode / \ecode cruft; this is no longer needed. See previous
Fred Drake [Fri, 13 Feb 1998 06:58:54 +0000 (06:58 +0000)]
Remove all \bcode / \ecode cruft; this is no longer needed.  See previous
checkin of myformat.sty.

Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}"
everywhere.

Some other minor nits that I happened to come across.

27 years agoLots of stuff:
Fred Drake [Fri, 13 Feb 1998 06:48:05 +0000 (06:48 +0000)]
Lots of stuff:

Handle most (all?) of the page style / numbering magic here so the documents
don't have to do it individually.

Revise the \bcode / \ecode stuff so that the {verbatim} environment handles
it right directly.  \bcode / \ecode will be completely removed from all files
(to be checked in momentarily).

Have the {verbatim} environment get the samples indented a bit; this
appearantly had been attempted in the old code, but didn't work because
paragraphs weren't indented.

Make all headers, from chapters on down to subparagraphs, have sans-serif
titles.

\setindexsubitem{}:  New macro.  Replaces \renewcommand{\indexsubitem{}(...)}
everywhere.  This allows LaTeX2HTML to be made to work correctly for
this.  That was near impossible with the old mechanisms.

For all {*desc} environments, make the name of the described thing bold as
well as monospaced.

{opcodedesc} environment:  Don't index the byte code names; that doesn't seem
terribly useful, and there are a lot of them.

\var{}:  More magic to make sure that the size is right even if embedded in
\file{} or some other macro that uses the sans-serif font in running
text.

\bfcode{}:  New macro.  Makes the font \code{} and bold.  (Was unreasonable
using old LaTeX 2.09.)

\file{}:  Adjust the size of the sans-serif font a little.

\email{}, \url{},  Make these use the same font as \file{}, but not the
surrounding single-quotes.

Update many comments.

Lots of minor nits and a little cleanliness.

27 years agoparse_line(): Strip whitespace from the module name.
Fred Drake [Fri, 13 Feb 1998 05:11:05 +0000 (05:11 +0000)]
parse_line():  Strip whitespace from the module name.

main():  Include a comma between the module name and page number, to make
 the generated index more like the "standard" generated index.

27 years agoFixed typo in docstring: "__ version__" --> "__version__"
Fred Drake [Fri, 13 Feb 1998 03:24:48 +0000 (03:24 +0000)]
Fixed typo in docstring:  "__ version__" --> "__version__"

27 years agoClean up some of the definitions related to info generation.
Fred Drake [Fri, 13 Feb 1998 03:23:33 +0000 (03:23 +0000)]
Clean up some of the definitions related to info generation.

27 years agoFix a horrible race condition -- various routines were storing the
Guido van Rossum [Fri, 13 Feb 1998 01:39:16 +0000 (01:39 +0000)]
Fix a horrible race condition -- various routines were storing the
most recently opened URL in self.openedurl of the URLopener instance.
This doesn't really work if multiple threads share the same opener
instance!

Fix: openedurl was actually simply the type prefix (e.g. "http:")
followed by the rest of the URL; since the rest of the URL is
available and the type is effectively determined by where you are in
the code, I can reconstruct the full URL easily, e.g. "http:" + url.

27 years ago"ASCII" --> "\ASCII{}"
Fred Drake [Thu, 12 Feb 1998 23:36:49 +0000 (23:36 +0000)]
"ASCII" --> "\ASCII{}"

27 years agoAdded tarpdf target.
Fred Drake [Thu, 12 Feb 1998 22:33:50 +0000 (22:33 +0000)]
Added tarpdf target.

Don't remove *.texi & *.info for clean; only for clobber.

Don't remake tarballs if not needed (PDF & PS only).  HTML tarball is still
painful.

27 years agoReorganized a bit. No changed content.
Fred Drake [Thu, 12 Feb 1998 21:22:28 +0000 (21:22 +0000)]
Reorganized a bit.  No changed content.

Guido, please take a look at new structure, at least the ToC.

27 years agoFor sections describing the "Foo Protocol", consistently use the capitalized
Fred Drake [Thu, 12 Feb 1998 20:57:15 +0000 (20:57 +0000)]
For sections describing the "Foo Protocol", consistently use the capitalized
"Protocol" and not "protocol".

27 years agoPy_Exit(status) calls exit(status), not exit(0).
Fred Drake [Thu, 12 Feb 1998 20:51:02 +0000 (20:51 +0000)]
Py_Exit(status) calls exit(status), not exit(0).

27 years agofixed initial color
Barry Warsaw [Thu, 12 Feb 1998 19:53:01 +0000 (19:53 +0000)]
fixed initial color

27 years agotypo
Barry Warsaw [Thu, 12 Feb 1998 19:52:46 +0000 (19:52 +0000)]
typo

27 years agoAdded color strip widgets
Barry Warsaw [Thu, 12 Feb 1998 19:52:31 +0000 (19:52 +0000)]
Added color strip widgets

27 years agoInitial revision
Barry Warsaw [Thu, 12 Feb 1998 19:51:57 +0000 (19:51 +0000)]
Initial revision

27 years ago(py-compute-indentation): Several changes made to improve navigation
Barry Warsaw [Thu, 12 Feb 1998 16:52:14 +0000 (16:52 +0000)]
(py-compute-indentation): Several changes made to improve navigation
over and around triple-quoted strings:

    - move the beginning-of-line to above the p-p-s call

    - in the `t' clause of the big cond, where we skip over
      triple-quoted strings, first find out if we're looking at a
      single or TQS, then skip over it in one fell swoop, instead of
      trying to loop over skipage of SQS's.

(py-parse-state): Implement XEmacs only hack to more accurately figure
out whether we're in a string or not.  Can't do this in Emacs because
it lacks the necessary primitive, so we just do it the old (and mostly
accurate, but foolable) way for Emacs.

27 years agoCorrect description of BUILD_SLICE.
Guido van Rossum [Thu, 12 Feb 1998 03:53:02 +0000 (03:53 +0000)]
Correct description of BUILD_SLICE.

27 years agoComment out the times package in the distributed version.
Fred Drake [Thu, 12 Feb 1998 03:48:50 +0000 (03:48 +0000)]
Comment out the times package in the distributed version.

27 years agoMark opcode arguments \var{} in the running text.
Fred Drake [Thu, 12 Feb 1998 03:32:18 +0000 (03:32 +0000)]
Mark opcode arguments \var{} in the running text.

In IMPORT_NAME description:  "is not affect:" --> "is not affected:"

27 years agoUse new \authoraddress{}; author's name and address are now separate.
Fred Drake [Thu, 12 Feb 1998 03:16:04 +0000 (03:16 +0000)]
Use new \authoraddress{}; author's name and address are now separate.

Use new \release{}; this is now separate from \date{}.

Use \email{} instead of \code{} for email addresses.

27 years agoRemove second index entry for UserList.
Fred Drake [Thu, 12 Feb 1998 03:10:55 +0000 (03:10 +0000)]
Remove second index entry for UserList.

27 years ago\rfcindex{}: Removed; no longer needed.
Fred Drake [Wed, 11 Feb 1998 23:08:20 +0000 (23:08 +0000)]
\rfcindex{}:  Removed; no longer needed.

\file{}:  Use a sans-serif font for the filename itself.

Use the fncychap.sty package for fancy chapter headings.

Replace the \maketitle command with our own format.  This is new, but it
looks a lot better than the old one.

Use \renewcommand instead of \def when extending or overriding standard LaTeX
commands.  This makes it more LaTeX-like.

27 years agoNew file. Written by Ulf A. Lindgren <lindgren@ae.chalmers.se>; we have
Fred Drake [Wed, 11 Feb 1998 23:01:23 +0000 (23:01 +0000)]
New file.  Written by Ulf A. Lindgren <lindgren@ae.chalmers.se>; we have
permission to distribute this without modifications.  This is the latest
version, directly from Ulf.

CTAN:macros/latex/contrib/supported/fncychap/

27 years agoAdded \nodename; added index entry for UserList.
Guido van Rossum [Wed, 11 Feb 1998 23:00:08 +0000 (23:00 +0000)]
Added \nodename; added index entry for UserList.

27 years agoAdded entries for stat, commands modules.
Guido van Rossum [Wed, 11 Feb 1998 22:58:55 +0000 (22:58 +0000)]
Added entries for stat, commands modules.

27 years agoAdded entries for re, soundex modules.
Guido van Rossum [Wed, 11 Feb 1998 22:57:10 +0000 (22:57 +0000)]
Added entries for re, soundex modules.