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

27 years agoSome subtleties suggested by Tamito Kajiyama, including an added
Guido van Rossum [Wed, 11 Feb 1998 22:55:55 +0000 (22:55 +0000)]
Some subtleties suggested by Tamito Kajiyama, including an added
\nodename macro for a section with a very underscriptive title.

27 years agoTurn the space in [\^ ...] into a hard space: [\^\ ...].
Guido van Rossum [Wed, 11 Feb 1998 22:52:47 +0000 (22:52 +0000)]
Turn the space in [\^ ...] into a hard space: [\^\ ...].

27 years agoSplit UserDict and UserList on two separate lines; added entries for
Guido van Rossum [Wed, 11 Feb 1998 22:36:17 +0000 (22:36 +0000)]
Split UserDict and UserList on two separate lines; added entries for
modules symbol and token.

27 years agoDon't break a long line at an unpleasant point.
Guido van Rossum [Wed, 11 Feb 1998 22:34:51 +0000 (22:34 +0000)]
Don't break a long line at an unpleasant point.

27 years agoAdded missing entry for cmath.
Guido van Rossum [Wed, 11 Feb 1998 22:33:57 +0000 (22:33 +0000)]
Added missing entry for cmath.

27 years agoReplace $math$ with \code{}.
Guido van Rossum [Wed, 11 Feb 1998 22:33:28 +0000 (22:33 +0000)]
Replace $math$ with \code{}.

27 years agoSwap ni and imp (so they are in the same order as their sections are).
Guido van Rossum [Wed, 11 Feb 1998 22:32:23 +0000 (22:32 +0000)]
Swap ni and imp (so they are in the same order as their sections are).

27 years agoRemove a spurious space from the title.
Guido van Rossum [Wed, 11 Feb 1998 22:31:54 +0000 (22:31 +0000)]
Remove a spurious space from the title.

27 years ago"lists objects" --> "list objects" (Section "More on Lists".)
Fred Drake [Wed, 11 Feb 1998 22:29:17 +0000 (22:29 +0000)]
"lists objects" --> "list objects"  (Section "More on Lists".)

27 years agoIn the appendix, all sections were marked as subsections, and so had section
Fred Drake [Wed, 11 Feb 1998 22:12:18 +0000 (22:12 +0000)]
In the appendix, all sections were marked as subsections, and so had section
numbers "A.0.#".  Fixed.

27 years agoBetter conversion of command line given initial color
Barry Warsaw [Wed, 11 Feb 1998 18:56:13 +0000 (18:56 +0000)]
Better conversion of command line given initial color

27 years agonew interface to find_byname()
Barry Warsaw [Wed, 11 Feb 1998 18:55:50 +0000 (18:55 +0000)]
new interface to find_byname()

27 years ago__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.
Barry Warsaw [Wed, 11 Feb 1998 18:55:37 +0000 (18:55 +0000)]
__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.

find_byrgb(): Changed name, interface (takes a tuple), and return
value

find_byname(): lowercase color name

27 years agoBetter dimensions
Barry Warsaw [Wed, 11 Feb 1998 18:54:23 +0000 (18:54 +0000)]
Better dimensions

27 years agoInterface changes, delegate chaining, type in widget addition
Barry Warsaw [Wed, 11 Feb 1998 17:19:54 +0000 (17:19 +0000)]
Interface changes, delegate chaining, type in widget addition

27 years agoSimplification of conversion routines
Barry Warsaw [Wed, 11 Feb 1998 17:19:23 +0000 (17:19 +0000)]
Simplification of conversion routines

27 years ago#Layout looks good, as does validation, and delegate chaining
Barry Warsaw [Wed, 11 Feb 1998 17:11:34 +0000 (17:11 +0000)]
#Layout looks good, as does validation, and delegate chaining

27 years agoAdd copyright.tex and boilerplate.tex to the common dependencies for .dvi
Fred Drake [Wed, 11 Feb 1998 14:43:38 +0000 (14:43 +0000)]
Add copyright.tex and boilerplate.tex to the common dependencies for .dvi
files.

27 years agoMark the URL "ftp://ftp.python.org" with \url{}.
Fred Drake [Wed, 11 Feb 1998 14:42:06 +0000 (14:42 +0000)]
Mark the URL "ftp://ftp.python.org" with \url{}.

27 years agoAdded PyImport_ExecCodeModuleEx(), which adds an extra parameter to
Guido van Rossum [Wed, 11 Feb 1998 05:53:02 +0000 (05:53 +0000)]
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to
pass it the true file.  This is used to set __file__ properly, instead
of believing what the code object carries with it.  (If the pointer
is NULL, the code object's co_filename is still used.)

27 years agoAdded PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
Guido van Rossum [Wed, 11 Feb 1998 05:47:24 +0000 (05:47 +0000)]
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
it the true file.

27 years ago&do_cmd_rfc: New function. Handles \rfc{}.
Fred Drake [Tue, 10 Feb 1998 22:11:07 +0000 (22:11 +0000)]
&do_cmd_rfc:  New function.  Handles \rfc{}.

$STRIP_INDEX_TT:  New flag.  If set, the <tt>...</tt> around stuff in the index
is dropped.  This is more O'Reilly-like.

&make_str_index_entry:  Honor $STRIP_INDEX_TT.

&make_mod_index_entry:  Honor $STRIP_INDEX_TT.

27 years agoRemoved all references to the \rfcindex{} macro; now only \rfc{} is used.
Fred Drake [Tue, 10 Feb 1998 21:42:27 +0000 (21:42 +0000)]
Removed all references to the \rfcindex{} macro; now only \rfc{} is used.

27 years agoMinor performance nits.
Fred Drake [Tue, 10 Feb 1998 21:35:49 +0000 (21:35 +0000)]
Minor performance nits.

27 years agoInitial revision
Barry Warsaw [Tue, 10 Feb 1998 00:13:06 +0000 (00:13 +0000)]
Initial revision

27 years agoInclude indfix.py script in lib.dvi's processing.
Fred Drake [Mon, 9 Feb 1998 22:18:42 +0000 (22:18 +0000)]
Include indfix.py script in lib.dvi's processing.

27 years agoScript to fix up the Library Reference index so it's less ugly. The docstring:
Fred Drake [Mon, 9 Feb 1998 22:17:52 +0000 (22:17 +0000)]
Script to fix up the Library Reference index so it's less ugly.  The docstring:

"""Combine similar index entries into an entry and subentries.

For example:

  \item {foobar} (in module flotz), 23
  \item {foobar} (in module whackit), 4323

becomes

  \item {foobar}
    \subitem in module flotz, 23
    \subitem in module whackit, 4323

Note that an item which matches the format of a collapsable item but which
isn't part of a group of similar items is not modified.
"""

This results in a much more readable index, with less repitition of text;
especially for common method names.

27 years agoOops, missed a \POSIX{} in an index entry.
Fred Drake [Mon, 9 Feb 1998 22:12:28 +0000 (22:12 +0000)]
Oops, missed a \POSIX{} in an index entry.

27 years agoAdd some index entries; switch to logical markup.
Fred Drake [Mon, 9 Feb 1998 20:52:48 +0000 (20:52 +0000)]
Add some index entries; switch to logical markup.

27 years agoConsistently use \POSIX{} to denote POSIX. There were at least two different
Fred Drake [Mon, 9 Feb 1998 20:27:12 +0000 (20:27 +0000)]
Consistently use \POSIX{} to denote POSIX.  There were at least two different
ways to do it previously (not counting module names).

27 years agoDo the right magic to make \ABC{} get sorted correctly in the index.
Fred Drake [Mon, 9 Feb 1998 20:16:46 +0000 (20:16 +0000)]
Do the right magic to make \ABC{} get sorted correctly in the index.

27 years agoDo the right magic to make \UNIX{} get sorted correctly in the index.
Fred Drake [Mon, 9 Feb 1998 20:16:18 +0000 (20:16 +0000)]
Do the right magic to make \UNIX{} get sorted correctly in the index.

27 years agoUse the new RFC macros wherever RFCs are referenced by number. No other
Fred Drake [Mon, 9 Feb 1998 19:16:20 +0000 (19:16 +0000)]
Use the new RFC macros wherever RFCs are referenced by number.  No other
changes.

27 years agoAdd macros to insert RFC references much like the \manpage{} macro. Also a
Fred Drake [Mon, 9 Feb 1998 19:14:54 +0000 (19:14 +0000)]
Add macros to insert RFC references much like the \manpage{} macro.  Also a
macro to insert an RFC index reference.

(RFC references were formatted three different ways.)

27 years agoAdd a note about rounding up of readlines()' sizehint to 8K.
Guido van Rossum [Sun, 8 Feb 1998 22:51:09 +0000 (22:51 +0000)]
Add a note about rounding up of readlines()' sizehint to 8K.

27 years agoDocument getrefcount().
Guido van Rossum [Sat, 7 Feb 1998 21:17:05 +0000 (21:17 +0000)]
Document getrefcount().

27 years ago\itembreak, \itemjoin: Remove unused macros.
Fred Drake [Fri, 6 Feb 1998 22:52:52 +0000 (22:52 +0000)]
\itembreak, \itemjoin: Remove unused macros.

\idxcode{}:  New macro; used to mark things that would be \code{} for entry
into the index.  This allows easily switching things around for the
font used in the index.  (O'Reilly seems to keep it all plain roman
in the index.  Looks reasonable in the Python documentation as well.)

\*index{}:  Use \idxcode{} instead of {\codefont{}}.

27 years agoForgot to return NULL in joinfields() when a type error was detected
Guido van Rossum [Fri, 6 Feb 1998 22:37:12 +0000 (22:37 +0000)]
Forgot to return NULL in joinfields() when a type error was detected
in one of the sequence items.

27 years agoUpdated URL for zlib.
Guido van Rossum [Fri, 6 Feb 1998 22:36:10 +0000 (22:36 +0000)]
Updated URL for zlib.

27 years agoRegister Tcl_Finalize as a Python exit handler.
Guido van Rossum [Fri, 6 Feb 1998 22:35:46 +0000 (22:35 +0000)]
Register Tcl_Finalize as a Python exit handler.

27 years agoDon't store the exception info from an unhandled exception in a thread
Guido van Rossum [Fri, 6 Feb 1998 22:32:08 +0000 (22:32 +0000)]
Don't store the exception info from an unhandled exception in a thread
in sys.last_*; it prevents proper calling of destructors of local
variables.

27 years agoSet Py_FrozenFlag, to suppress error messages from getpath.c.
Guido van Rossum [Fri, 6 Feb 1998 22:30:29 +0000 (22:30 +0000)]
Set Py_FrozenFlag, to suppress error messages from getpath.c.

27 years ago- Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
Guido van Rossum [Fri, 6 Feb 1998 22:29:30 +0000 (22:29 +0000)]
- Use Py_GetPythonHome() instead of getenv("PYTHONHOME").

- Don't print error messages when Py_FrozenFlag is set.

27 years ago- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
Guido van Rossum [Fri, 6 Feb 1998 22:28:05 +0000 (22:28 +0000)]
- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
embedders to force a different PYTHONHOME.

- Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but
flag determines whether sys.last_* are set or not.  PyErr_Print()
now simply calls PyErr_PrintEx(1).

27 years ago- Add Py_FrozenFlag, intended to suppress error messages fron
Guido van Rossum [Fri, 6 Feb 1998 22:27:46 +0000 (22:27 +0000)]
- Add Py_FrozenFlag, intended to suppress error messages fron
getpath.c in frozen binaries.

27 years agoEhm, three unrelated changes.
Guido van Rossum [Fri, 6 Feb 1998 22:27:24 +0000 (22:27 +0000)]
Ehm, three unrelated changes.

- Add Py_FrozenFlag, intended to suppress error messages fron
getpath.c in frozen binaries.

- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
embedders to force a different PYTHONHOME.

- Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but
flag determines whether sys.last_* are set or not.  PyErr_Print()
now simply calls PyErr_PrintEx(1).

27 years agoRemove commented-out \itembreak.
Fred Drake [Fri, 6 Feb 1998 22:26:04 +0000 (22:26 +0000)]
Remove commented-out \itembreak.

27 years agoUpdate two of the \indexsubitem values to use singular rather than plural form
Fred Drake [Fri, 6 Feb 1998 22:19:23 +0000 (22:19 +0000)]
Update two of the \indexsubitem values to use singular rather than plural form
of "variable": each individual variable should be identified as a single
variable and not a collection in the index.

27 years agoAdded rmtree(), to recursively remove a directory tree.
Guido van Rossum [Fri, 6 Feb 1998 21:38:09 +0000 (21:38 +0000)]
Added rmtree(), to recursively remove a directory tree.
Code by David Ascher (docstring by me).

27 years agoTwo more refinements of the cleanup process.
Guido van Rossum [Fri, 6 Feb 1998 17:16:02 +0000 (17:16 +0000)]
Two more refinements of the cleanup process.

(1) Explicitly clear __builtin__._ and sys.{last,exc}_* before
clearing anything else.  These are common places where user values
hide and people complain when their destructors fail.  Since the
modules containing them are deleted *last* of all, they would come too
late in the normal destruction order.  Sigh.

(2) Add some debugging aid to cleanup (after a suggestion by Marc
Lemburg) -- print the names of the modules being cleaned, and (when
-vv is used) print the names of the variables being cleared.

27 years ago(py-scroll-process-buffer): Default value changed to nil to act more
Barry Warsaw [Fri, 6 Feb 1998 16:01:52 +0000 (16:01 +0000)]
(py-scroll-process-buffer): Default value changed to nil to act more
like default shell-mode behavior.

27 years agoAdd ref to errno module, and change ref to posix.error to os.error.
Guido van Rossum [Fri, 6 Feb 1998 15:18:25 +0000 (15:18 +0000)]
Add ref to errno module, and change ref to posix.error to os.error.

27 years agoAdd ref to errno module.
Guido van Rossum [Fri, 6 Feb 1998 15:18:05 +0000 (15:18 +0000)]
Add ref to errno module.