]> granicus.if.org Git - python/log
python
26 years agoReindented without tabs and with uniform 4 space indent.
Guido van Rossum [Mon, 6 Apr 1998 14:20:27 +0000 (14:20 +0000)]
Reindented without tabs and with uniform 4 space indent.

26 years agoRemove some long obsolete files...
Guido van Rossum [Mon, 6 Apr 1998 14:16:12 +0000 (14:16 +0000)]
Remove some long obsolete files...

26 years agoGive in to tabnanny.
Guido van Rossum [Mon, 6 Apr 1998 14:14:25 +0000 (14:14 +0000)]
Give in to tabnanny.

26 years agoCorrection to vonmisesvariate() by Magnus Kessler: it should take and
Guido van Rossum [Mon, 6 Apr 1998 14:12:13 +0000 (14:12 +0000)]
Correction to vonmisesvariate() by Magnus Kessler: it should take and
return something between 0 and 2*pi.  Also added a reference to the
literature.

26 years agoRestructured the event_* calls slightly -- there's really no need to
Guido van Rossum [Mon, 6 Apr 1998 03:10:03 +0000 (03:10 +0000)]
Restructured the event_* calls slightly -- there's really no need to
use the default root, and instead of string.split, use splitlist.

26 years agoMove a short paragraph outside the description of ASTType.
Fred Drake [Sun, 5 Apr 1998 20:23:02 +0000 (20:23 +0000)]
Move a short paragraph outside the description of ASTType.

26 years ago(imenu-example--python-class-regexp): Fix to recognize Module.Class in
Barry Warsaw [Sat, 4 Apr 1998 21:36:53 +0000 (21:36 +0000)]
(imenu-example--python-class-regexp): Fix to recognize Module.Class in
inheritance list.

26 years agoRemove all uses of \sectcode; we can now use logical markup everywhere.
Fred Drake [Sat, 4 Apr 1998 07:23:21 +0000 (07:23 +0000)]
Remove all uses of \sectcode; we can now use logical markup everywhere.

26 years agoChange \sectcode to logical markup.
Fred Drake [Sat, 4 Apr 1998 07:17:47 +0000 (07:17 +0000)]
Change \sectcode to logical markup.

26 years agoRemove obsolete \setindexsubitem macros.
Fred Drake [Sat, 4 Apr 1998 07:15:02 +0000 (07:15 +0000)]
Remove obsolete \setindexsubitem macros.

Massive migration to methoddesc and memberdesc.

Logical markup as needed.

A sprinkling of index entries for flavor.

26 years agoMoved some things around.
Fred Drake [Sat, 4 Apr 1998 07:03:19 +0000 (07:03 +0000)]
Moved some things around.

Adjusted a couple of the comments to be more informative.

Tell a little bit about what obsolete means now, and how to use obsolete
modules.

26 years agoRemoved obsolete \setindexsubitem macros.
Fred Drake [Sat, 4 Apr 1998 06:46:51 +0000 (06:46 +0000)]
Removed obsolete \setindexsubitem macros.

26 years agoAdded index entries.
Fred Drake [Sat, 4 Apr 1998 06:46:05 +0000 (06:46 +0000)]
Added index entries.

26 years agoRemove obsolete \setindexsubitem macro.
Fred Drake [Sat, 4 Apr 1998 06:35:41 +0000 (06:35 +0000)]
Remove obsolete \setindexsubitem macro.

Logical markup, methoddesc, etc.

26 years agoRemove obsolete \setindexsubitem macro,
Fred Drake [Sat, 4 Apr 1998 06:31:51 +0000 (06:31 +0000)]
Remove obsolete \setindexsubitem macro,

Added index entries.

Markup nits.

26 years agoAdded index entry.
Fred Drake [Sat, 4 Apr 1998 06:28:54 +0000 (06:28 +0000)]
Added index entry.

26 years agoRemove obsolete \setindexsubitem macro.
Fred Drake [Sat, 4 Apr 1998 06:28:14 +0000 (06:28 +0000)]
Remove obsolete \setindexsubitem macro.

26 years agoFix index entry for HTMLParser class.
Fred Drake [Sat, 4 Apr 1998 06:25:27 +0000 (06:25 +0000)]
Fix index entry for HTMLParser class.

26 years agoLogical markup.
Fred Drake [Sat, 4 Apr 1998 06:23:02 +0000 (06:23 +0000)]
Logical markup.

Index entries.

26 years agoLogical markup.
Fred Drake [Sat, 4 Apr 1998 06:20:28 +0000 (06:20 +0000)]
Logical markup.

26 years agoFixed description of similarity between m[name] and m.getheader(name),
Fred Drake [Sat, 4 Apr 1998 06:19:30 +0000 (06:19 +0000)]
Fixed description of similarity between m[name] and m.getheader(name),
reported by Samuel L. Bayer.

Use methoddesc instead of funcdesc, etc.

26 years agoRemove obsolete lines like this:
Fred Drake [Sat, 4 Apr 1998 05:56:51 +0000 (05:56 +0000)]
Remove obsolete lines like this:

\setindexsubitem{(in module frobnitz)}

These are no longer needed when present before any other \setindexsubitem{}
in the module section.  The indexsubitem is now set by \bimodindex and
\stmodindex.

26 years agoAdd fileinput section under Misc. Services.
Fred Drake [Sat, 4 Apr 1998 05:50:12 +0000 (05:50 +0000)]
Add fileinput section under Misc. Services.

26 years agoUse new index style for makeindex.
Fred Drake [Sat, 4 Apr 1998 04:21:45 +0000 (04:21 +0000)]
Use new index style for makeindex.

Add dependency on libfileinput.tex for lib.dvi.

26 years agoDocument fileinput.
Fred Drake [Sat, 4 Apr 1998 04:20:51 +0000 (04:20 +0000)]
Document fileinput.

26 years agoUse the new index style when running makeindex.
Fred Drake [Sat, 4 Apr 1998 04:20:21 +0000 (04:20 +0000)]
Use the new index style when running makeindex.

26 years agoMinor cleanliness.
Fred Drake [Sat, 4 Apr 1998 04:19:20 +0000 (04:19 +0000)]
Minor cleanliness.

26 years agoStyle specification for building *.ind from *.idx. This is needed to avoid
Fred Drake [Sat, 4 Apr 1998 04:18:06 +0000 (04:18 +0000)]
Style specification for building *.ind from *.idx.  This is needed to avoid
wrapping of long lines, which tools/indfix.py doesn't understand, and needs
to to handle collapsing of entries which can share a common emtry and just
be short entries themselves.  We get the added benefit of nicer formatting.

26 years agoRelocating file to Lib/lib-old.
Fred Drake [Sat, 4 Apr 1998 01:05:17 +0000 (01:05 +0000)]
Relocating file to Lib/lib-old.

26 years agoRelocating file to Lib/lib-old.
Fred Drake [Sat, 4 Apr 1998 00:54:56 +0000 (00:54 +0000)]
Relocating file to Lib/lib-old.

26 years agoThis was the reason a numeric array to a real power was not working.
Guido van Rossum [Fri, 3 Apr 1998 23:38:59 +0000 (23:38 +0000)]
This was the reason a numeric array to a real power was not working.

26 years agoposix->os.
Guido van Rossum [Fri, 3 Apr 1998 22:27:04 +0000 (22:27 +0000)]
posix->os.

26 years agoAMK's latest
Guido van Rossum [Fri, 3 Apr 1998 21:47:12 +0000 (21:47 +0000)]
AMK's latest

26 years agoStart at updating the template a little bit. There's a lot of stuff that's
Fred Drake [Fri, 3 Apr 1998 21:25:16 +0000 (21:25 +0000)]
Start at updating the template a little bit.  There's a lot of stuff that's
just not here yet.

26 years agoIncrease space between the end of a regexp and the little right floor symbol
Fred Drake [Fri, 3 Apr 1998 21:22:31 +0000 (21:22 +0000)]
Increase space between the end of a regexp and the little right floor symbol
used as a closing quote.  At AMK's request.

26 years agoAMK's latest
Guido van Rossum [Fri, 3 Apr 1998 21:13:31 +0000 (21:13 +0000)]
AMK's latest

26 years agoUse %.17f to format floats/doubles
Guido van Rossum [Fri, 3 Apr 1998 21:13:02 +0000 (21:13 +0000)]
Use %.17f to format floats/doubles

26 years agoMake sure that the message "Error in sys.exitfunc:" goes to sys.stderr
Guido van Rossum [Fri, 3 Apr 1998 21:12:12 +0000 (21:12 +0000)]
Make sure that the message "Error in sys.exitfunc:" goes to sys.stderr
and not to C's stderr.

26 years agoMake calls into ../PC/frozen_dllmain.c on MS_WIN32.
Guido van Rossum [Fri, 3 Apr 1998 21:11:15 +0000 (21:11 +0000)]
Make calls into ../PC/frozen_dllmain.c on MS_WIN32.

26 years agoAdd primitive test for frozen package.
Guido van Rossum [Fri, 3 Apr 1998 21:10:36 +0000 (21:10 +0000)]
Add primitive test for frozen package.

26 years agoRemoved line of obsolete markup.
Fred Drake [Fri, 3 Apr 1998 20:35:03 +0000 (20:35 +0000)]
Removed line of obsolete markup.

26 years agoSome clarifications of out-of-range group indexes/names
Guido van Rossum [Fri, 3 Apr 1998 20:07:37 +0000 (20:07 +0000)]
Some clarifications of out-of-range group indexes/names

26 years agoTrack changes in tokenize.py
Guido van Rossum [Fri, 3 Apr 1998 19:56:40 +0000 (19:56 +0000)]
Track changes in tokenize.py

26 years agoAdd optional argument to help().
Guido van Rossum [Fri, 3 Apr 1998 17:03:13 +0000 (17:03 +0000)]
Add optional argument to help().

26 years agoExplicitly close rfile and wfile in StreamRequestHandler.finish() --
Guido van Rossum [Fri, 3 Apr 1998 16:49:52 +0000 (16:49 +0000)]
Explicitly close rfile and wfile in StreamRequestHandler.finish() --
mostly for jpython.

26 years agoDifferentiate between NEWLINE token (an official newline) and NL token
Guido van Rossum [Fri, 3 Apr 1998 16:05:38 +0000 (16:05 +0000)]
Differentiate between NEWLINE token (an official newline) and NL token
(a newline that the grammar ignores).

26 years agoUnixMailbox: don't be fooled by lines that begin with "From " but
Guido van Rossum [Fri, 3 Apr 1998 16:04:05 +0000 (16:04 +0000)]
UnixMailbox: don't be fooled by lines that begin with "From " but
otherwise don't look like headers at all...
Also robustify the test code a bit.

26 years agoSjoerd's latest.
Guido van Rossum [Fri, 3 Apr 1998 16:02:39 +0000 (16:02 +0000)]
Sjoerd's latest.

26 years agoOops, pulled over by the tab police :-)
Guido van Rossum [Fri, 3 Apr 1998 15:57:58 +0000 (15:57 +0000)]
Oops, pulled over by the tab police :-)

26 years agoChange by Sjoerd (with minor reformatting):
Guido van Rossum [Fri, 3 Apr 1998 15:56:16 +0000 (15:56 +0000)]
Change by Sjoerd (with minor reformatting):
  guess the mime type of a local file.

Change suggested by Sjoerd (with different implementation):
  when retrieve() creates a temporary file, preserve the suffix.

Corrollary of the first change:
  also return the mime type of a local file in retrieve().

26 years agoExport MPZType -- the type of mpz objects....
Fred Drake [Fri, 3 Apr 1998 15:33:43 +0000 (15:33 +0000)]
Export MPZType -- the type of mpz objects....

26 years agoLots of markup consistency nits.
Fred Drake [Fri, 3 Apr 1998 07:16:46 +0000 (07:16 +0000)]
Lots of markup consistency nits.

Logical markup.

26 years agoSmall nits.
Fred Drake [Fri, 3 Apr 1998 07:15:54 +0000 (07:15 +0000)]
Small nits.

One more index entry.

Be more specific about an exception raised by range().

26 years agoSeveral minor markup nits.
Fred Drake [Fri, 3 Apr 1998 07:13:56 +0000 (07:13 +0000)]
Several minor markup nits.

26 years ago"alternative" is a noun, use "alternate" for the adjective.
Fred Drake [Fri, 3 Apr 1998 07:12:52 +0000 (07:12 +0000)]
"alternative" is a noun, use "alternate" for the adjective.

Minor nits.

26 years agoTalk about some minor nits...
Fred Drake [Fri, 3 Apr 1998 07:11:32 +0000 (07:11 +0000)]
Talk about some minor nits...

26 years agoCapitalize "Python" for consistency.
Fred Drake [Fri, 3 Apr 1998 07:10:41 +0000 (07:10 +0000)]
Capitalize "Python" for consistency.

Describe UserDict and UserList individually so they aren't too hideous in
the presentation.

26 years agoSmall markup nits.
Fred Drake [Fri, 3 Apr 1998 07:09:38 +0000 (07:09 +0000)]
Small markup nits.

26 years agoSmall consistency nits.
Fred Drake [Fri, 3 Apr 1998 07:06:56 +0000 (07:06 +0000)]
Small consistency nits.

26 years agoCapitalize "Python" for consistency.
Fred Drake [Fri, 3 Apr 1998 07:06:01 +0000 (07:06 +0000)]
Capitalize "Python" for consistency.

26 years agoNew index entries.
Fred Drake [Fri, 3 Apr 1998 07:05:16 +0000 (07:05 +0000)]
New index entries.

26 years agoUse {methoddesc} as appropriate.
Fred Drake [Fri, 3 Apr 1998 07:04:45 +0000 (07:04 +0000)]
Use {methoddesc} as appropriate.

26 years agoIndex entries.
Fred Drake [Fri, 3 Apr 1998 07:02:35 +0000 (07:02 +0000)]
Index entries.

Consistency nits.

26 years agoAdded comment crediting Sue Williams with this documentation section (the
Fred Drake [Fri, 3 Apr 1998 06:56:31 +0000 (06:56 +0000)]
Added comment crediting Sue Williams with this documentation section (the
ACKS file should be checked....).

26 years agoFix one typo.
Fred Drake [Fri, 3 Apr 1998 06:54:27 +0000 (06:54 +0000)]
Fix one typo.

Add a manpage reference.

Add an index entry.

26 years agoNits.
Fred Drake [Fri, 3 Apr 1998 06:49:26 +0000 (06:49 +0000)]
Nits.

Add {excdesc} for zlib.error.

Use {methoddesc} where appropriate.

26 years agoAdd index entry for GzipFile class.
Fred Drake [Fri, 3 Apr 1998 06:48:16 +0000 (06:48 +0000)]
Add index entry for GzipFile class.

26 years agoLogical markup.
Fred Drake [Fri, 3 Apr 1998 06:35:54 +0000 (06:35 +0000)]
Logical markup.

26 years agoMarkup consistency.
Fred Drake [Fri, 3 Apr 1998 06:21:23 +0000 (06:21 +0000)]
Markup consistency.

26 years agoConsistency: Don't use module name when referring to functions defined
Fred Drake [Fri, 3 Apr 1998 06:14:54 +0000 (06:14 +0000)]
Consistency:  Don't use module name when referring to functions defined
in the same module.

26 years agoMinor nits.
Fred Drake [Fri, 3 Apr 1998 06:12:21 +0000 (06:12 +0000)]
Minor nits.

Lots of index entries.

26 years agoConsistency nits:
Fred Drake [Fri, 3 Apr 1998 06:04:12 +0000 (06:04 +0000)]
Consistency nits:

Use math-mode pi instead of mixing forms.

Use spaces around relational operators.

26 years agoMinor nits.
Fred Drake [Fri, 3 Apr 1998 05:59:05 +0000 (05:59 +0000)]
Minor nits.

Moved IGNORECASE & friends to "top level" definitions following compile(),
since there is no other case of nesting in the manual.

Use {memberdesc} and {methoddesc} as appropriate.

26 years agoMinor nits.
Fred Drake [Fri, 3 Apr 1998 05:42:10 +0000 (05:42 +0000)]
Minor nits.

Indent code sample to use 4-space indents.

26 years agoMention the --help option to tools/mkhowto.sh.
Fred Drake [Fri, 3 Apr 1998 05:41:38 +0000 (05:41 +0000)]
Mention the --help option to tools/mkhowto.sh.

26 years agoMinor nits.
Fred Drake [Fri, 3 Apr 1998 05:31:45 +0000 (05:31 +0000)]
Minor nits.

Index entry.

26 years agoNormalized case rules in section headings.
Fred Drake [Fri, 3 Apr 1998 05:16:31 +0000 (05:16 +0000)]
Normalized case rules in section headings.

Moved stuff from "Recent Additions to 1.1" to "More on Defining Functions".
This means there's now a short section on "Defining Functions" immediately
followed by a long section "More on Defining Functions."

26 years agoCapitalize "Python" for consistency.
Fred Drake [Fri, 3 Apr 1998 05:02:28 +0000 (05:02 +0000)]
Capitalize "Python" for consistency.

26 years agoCapitalize "Python" for consistency.
Fred Drake [Fri, 3 Apr 1998 03:47:03 +0000 (03:47 +0000)]
Capitalize "Python" for consistency.

Add an index entry.

26 years agoLogical markup.
Fred Drake [Fri, 3 Apr 1998 03:44:56 +0000 (03:44 +0000)]
Logical markup.

26 years agoUse {seealso} environment to refer to the struct module.
Fred Drake [Fri, 3 Apr 1998 03:35:24 +0000 (03:35 +0000)]
Use {seealso} environment to refer to the struct module.

Document ArrayType.

Use {memberdesc} and {methoddesc} environments, as appropriate.

Minor nits.

26 years agoadd_idx(): Restore message to stdout when formatting the general index.
Fred Drake [Thu, 2 Apr 1998 22:39:05 +0000 (22:39 +0000)]
add_idx():  Restore message to stdout when formatting the general index.

26 years agoMatch python.sty a little better.
Fred Drake [Thu, 2 Apr 1998 22:33:44 +0000 (22:33 +0000)]
Match python.sty a little better.

26 years agoRemoved an obsolete hack that's been commented out for a long time.
Fred Drake [Thu, 2 Apr 1998 22:33:16 +0000 (22:33 +0000)]
Removed an obsolete hack that's been commented out for a long time.

Added comments to various sections.

26 years agoLots of little nits.
Fred Drake [Thu, 2 Apr 1998 22:30:57 +0000 (22:30 +0000)]
Lots of little nits.

Big fix:  the module index for the Python Library Reference is once more in a
separate file!  Yeah!

26 years agoAdded a __delitem__ to the Message class.
Guido van Rossum [Thu, 2 Apr 1998 21:33:20 +0000 (21:33 +0000)]
Added a __delitem__ to the Message class.
(Still no __setitem__, until I get a request to add it!)

26 years agoThis fixes a (minor) problem discovered by AMK when you don't want any
Fred Drake [Thu, 2 Apr 1998 20:14:04 +0000 (20:14 +0000)]
This fixes a (minor) problem discovered by AMK when you don't want any
special markup for the first column of a table using {tableii} or {tableiii}.
In LaTeX, this requires using "textrm" as the formatting function, and this
is needed to remove the bogus "<textrm>" that gets generated otherwise.
There should probably be a more general mapping of specified markup to useful
markup, but that doesn't appear needed at the moment.

do_env_tableii(), do_env_tableiii():  If the markup for the first column is
\textrm, make it empty.

do_cmd_lineii(), do_cmd_lineiii():  If the markup for the first column is
empty, don't add markup around the text.

26 years agoHyphenate "built-in" for consistency.
Fred Drake [Thu, 2 Apr 1998 19:36:25 +0000 (19:36 +0000)]
Hyphenate "built-in" for consistency.

26 years ago#Oops, I lost the CVS/RCS $Revision$
Barry Warsaw [Thu, 2 Apr 1998 19:27:18 +0000 (19:27 +0000)]
#Oops, I lost the CVS/RCS $Revision$

26 years agoHyphenate "built-in" for consistency.
Fred Drake [Thu, 2 Apr 1998 18:54:54 +0000 (18:54 +0000)]
Hyphenate "built-in" for consistency.

26 years agoUse methoddesc and memberdesc, as needed.
Fred Drake [Thu, 2 Apr 1998 18:51:30 +0000 (18:51 +0000)]
Use methoddesc and memberdesc, as needed.

Added description of BastionClass, since it is referred to in the Bastion
description as subclassable.

26 years agoUse methoddesc instead of funcdesc to describe the only method.
Fred Drake [Thu, 2 Apr 1998 18:50:21 +0000 (18:50 +0000)]
Use methoddesc instead of funcdesc to describe the only method.

26 years ago\bifuncindex: Fix so entries combine correctly with those of the built-in
Fred Drake [Thu, 2 Apr 1998 18:48:32 +0000 (18:48 +0000)]
\bifuncindex:  Fix so entries combine correctly with those of the built-in
functions section.

26 years agoRemoved reference to ni module.
Fred Drake [Thu, 2 Apr 1998 18:46:44 +0000 (18:46 +0000)]
Removed reference to ni module.

26 years agoRemoved references to ni.
Fred Drake [Thu, 2 Apr 1998 18:45:09 +0000 (18:45 +0000)]
Removed references to ni.

26 years agoMarkup nits, index entries.
Fred Drake [Thu, 2 Apr 1998 18:44:38 +0000 (18:44 +0000)]
Markup nits, index entries.

26 years agoBe more specific about where in RFC 1421 to look, since it's not at all
Fred Drake [Thu, 2 Apr 1998 16:24:29 +0000 (16:24 +0000)]
Be more specific about where in RFC 1421 to look, since it's not at all
obvious when taking a quick look.

Say "base64" instead of "base-64", since that seems to be how it's referred
to in other RFCs.

26 years agoMinor markup nits.
Fred Drake [Thu, 2 Apr 1998 16:19:15 +0000 (16:19 +0000)]
Minor markup nits.

26 years agoFix one remaining internal use of \code{} that could use the simpler form.
Fred Drake [Thu, 2 Apr 1998 16:09:02 +0000 (16:09 +0000)]
Fix one remaining internal use of \code{} that could use the simpler form.

26 years agoSome nits.
Fred Drake [Thu, 2 Apr 1998 15:53:07 +0000 (15:53 +0000)]
Some nits.

Fixed quoting in third paragraph of the findmatch() description.