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

26 years agoAdded --split for AMK; control split level of the HTML output. Use --split 1
Fred Drake [Thu, 2 Apr 1998 15:37:13 +0000 (15:37 +0000)]
Added --split for AMK; control split level of the HTML output.  Use --split 1
to create a single HTML file.

Added --help.

26 years agoMarkup consistency nits.
Fred Drake [Thu, 2 Apr 1998 06:50:02 +0000 (06:50 +0000)]
Markup consistency nits.

Fix indentation in code sample in PyArg_ParseTuple() section.

Added one index entry.

Fix include file reference in "Shared Libraries" to print <...> instead of
the upside-down versions of ! and ?.

26 years agoMarkup consistency & nits.
Fred Drake [Thu, 2 Apr 1998 06:47:24 +0000 (06:47 +0000)]
Markup consistency & nits.

Fix typo in a C code example:  KeyError is spelled PyExc_KeyError in C; the
"K" is upper case!

Some index entries.

On function signatures, always use parameter names.  Make return types match
what's in the header files.  When the return type is a pointer, always omit
the space between te type name and the "*"; leaving it in results in

type * func(..)

and having two spaces there just looks terrible.

26 years agoAMK's version from the latest pypcre distribution. This clarifies a
Guido van Rossum [Thu, 2 Apr 1998 01:32:24 +0000 (01:32 +0000)]
AMK's version from the latest pypcre distribution.  This clarifies a
few things and adds docs for what happens to escapes in replacement
strings.

26 years agoSmall markup nits, a few grammatical fixes, and a clarification of the binary
Fred Drake [Wed, 1 Apr 1998 23:11:56 +0000 (23:11 +0000)]
Small markup nits, a few grammatical fixes, and a clarification of the binary
mode for files under MacOS.

Updated the traffic figure for c.l.p in the "What Now?" chapter; see comments.

26 years agoImplemented one more special markup item.
Fred Drake [Wed, 1 Apr 1998 22:44:56 +0000 (22:44 +0000)]
Implemented one more special markup item.

26 years agoAdded some comments.
Fred Drake [Wed, 1 Apr 1998 22:20:14 +0000 (22:20 +0000)]
Added some comments.

26 years ago(py-compute-indentation): When looking at a continuation line inside
Barry Warsaw [Wed, 1 Apr 1998 21:59:41 +0000 (21:59 +0000)]
(py-compute-indentation): When looking at a continuation line inside
an open paren, do a better job of reindenting the line.  For example:

def foo():
    print 'hello %s, %d' % (
    a, b)

Hit TAB on the line starting with `a'.  Without this patch this line
will never be reindented.

26 years agoTwo patches for Emacs 20.2 compatibility:
Barry Warsaw [Wed, 1 Apr 1998 21:13:51 +0000 (21:13 +0000)]
Two patches for Emacs 20.2 compatibility:

(py-compute-indentation): int-to-char isn't defined in Emacs, but we
don't really need it anyway, so just remove this conversion.  XEmacs
is happy either way.

(py-parse-state): The Emacs branch (i.e. w/o buffer-syntactic-context)
wasn't adjusting point correctly.

26 years agoCorrect dumb typo found by kjpylint (stack should be self.stack).
Guido van Rossum [Tue, 31 Mar 1998 17:00:46 +0000 (17:00 +0000)]
Correct dumb typo found by kjpylint (stack should be self.stack).

26 years agoCorrect a definite typo ('mem' should be 'memo').
Guido van Rossum [Tue, 31 Mar 1998 16:30:28 +0000 (16:30 +0000)]
Correct a definite typo ('mem' should be 'memo').

26 years agoTim Peters' program for checking whether a program's indentation is
Guido van Rossum [Tue, 31 Mar 1998 14:31:39 +0000 (14:31 +0000)]
Tim Peters' program for checking whether a program's indentation is
sensitive to tab size.  Uses a different strategy than tabpolice.py,
but has compatible usage.

26 years agoStrip argument to atol and atof to match what strop does better.
Guido van Rossum [Mon, 30 Mar 1998 17:22:30 +0000 (17:22 +0000)]
Strip argument to atol and atof to match what strop does better.

26 years agoA few lines were indented using spaces instead of tabs -- fix them.
Guido van Rossum [Mon, 30 Mar 1998 17:17:24 +0000 (17:17 +0000)]
A few lines were indented using spaces instead of tabs -- fix them.

26 years agoReturn the name of the Tcl command defined by _bind(). This can
Guido van Rossum [Fri, 27 Mar 1998 21:26:51 +0000 (21:26 +0000)]
Return the name of the Tcl command defined by _bind().  This can
optionally be passed to unbind() (or you can apss it to
deletecommand()).

26 years agoChange $ICONSERVER to conform to the value AMK & I have discussed for this;
Fred Drake [Fri, 27 Mar 1998 06:53:13 +0000 (06:53 +0000)]
Change $ICONSERVER to conform to the value AMK & I have discussed for this;
doing this here may prove to not be such a good idea, but we'll see.

26 years agoUse the new {methoddesc} and {memberdesc} environments as appropriate.
Fred Drake [Fri, 27 Mar 1998 05:27:08 +0000 (05:27 +0000)]
Use the new {methoddesc} and {memberdesc} environments as appropriate.

26 years agoFirst (rough) cut at HTML index generation in Python. Not very pretty, but
Fred Drake [Fri, 27 Mar 1998 05:25:43 +0000 (05:25 +0000)]
First (rough) cut at HTML index generation in Python.  Not very pretty, but
easier to work with than the Perl code.

26 years agoAdd support for mapping internal labels used from the index.
Fred Drake [Fri, 27 Mar 1998 05:24:53 +0000 (05:24 +0000)]
Add support for mapping internal labels used from the index.

26 years ago\tableofcontents: Add support for some warning reduction in python.sty.
Fred Drake [Fri, 27 Mar 1998 05:24:03 +0000 (05:24 +0000)]
\tableofcontents:  Add support for some warning reduction in python.sty.

26 years agoAdd comments about several of the environments.
Fred Drake [Fri, 27 Mar 1998 05:22:53 +0000 (05:22 +0000)]
Add comments about several of the environments.

Cleaned up some problems that caused minor warnings.

Added environments for object methods and members, with non-indexing variants.
This includes reduced use of the indexsubitem setting, allowing more robust
index generation.

Removed some unused definitions.

26 years agoSome cleanup.
Fred Drake [Fri, 27 Mar 1998 05:19:43 +0000 (05:19 +0000)]
Some cleanup.

Remove index generation from Perl; use an external script instead.

26 years agoAdded note about weird sequencing of <PRE> & <dl> around {verbatim} sections.
Fred Drake [Fri, 27 Mar 1998 05:18:45 +0000 (05:18 +0000)]
Added note about weird sequencing of <PRE> & <dl> around {verbatim} sections.

26 years agoClarified some comments about the requirements on the TeX installation.
Fred Drake [Fri, 27 Mar 1998 05:17:21 +0000 (05:17 +0000)]
Clarified some comments about the requirements on the TeX installation.

Added brief section on the howto support.

26 years agoLots and lots and lots.....
Fred Drake [Fri, 27 Mar 1998 05:16:10 +0000 (05:16 +0000)]
Lots and lots and lots.....

Implemented some new features of python.sty for methods & members.

Fixed some bugs.

Cleaned up some perl code and made some basic regular expressions more robust.

26 years agoMake sure both hyphens of a long-option show up in the HTML output.
Fred Drake [Fri, 27 Mar 1998 00:37:40 +0000 (00:37 +0000)]
Make sure both hyphens of a long-option show up in the HTML output.

26 years agoThe usual.
Guido van Rossum [Thu, 26 Mar 1998 22:14:20 +0000 (22:14 +0000)]
The usual.

26 years agoDon't write "if self.dict: self.dict.close()"; just write
Guido van Rossum [Thu, 26 Mar 1998 22:12:22 +0000 (22:12 +0000)]
Don't write "if self.dict: self.dict.close()"; just write
"self.dict.close()" and ignore the exception.  The "if self.dict:"
part would be calculated through len(self.dict.keys()), which is very
expensive for a large dictionary...

26 years agoA few lines were indented using tabs instead of spaces -- fix them.
Guido van Rossum [Thu, 26 Mar 1998 22:10:50 +0000 (22:10 +0000)]
A few lines were indented using tabs instead of spaces -- fix them.

26 years agoMass check-in after untabifying all files that need it.
Guido van Rossum [Thu, 26 Mar 1998 21:13:24 +0000 (21:13 +0000)]
Mass check-in after untabifying all files that need it.

26 years agoDelete this unused relic.
Guido van Rossum [Thu, 26 Mar 1998 21:07:14 +0000 (21:07 +0000)]
Delete this unused relic.

26 years agoA few lines were indented using spaces instead of tabs -- fix them.
Guido van Rossum [Thu, 26 Mar 1998 21:01:39 +0000 (21:01 +0000)]
A few lines were indented using spaces instead of tabs -- fix them.

26 years agoA few lines were indented using spaces instead of tabs -- fix them.
Guido van Rossum [Thu, 26 Mar 1998 20:56:10 +0000 (20:56 +0000)]
A few lines were indented using spaces instead of tabs -- fix them.

26 years agoMass check-in after untabifying all files that need it.
Guido van Rossum [Thu, 26 Mar 1998 20:23:01 +0000 (20:23 +0000)]
Mass check-in after untabifying all files that need it.

26 years agoReindented with tabs only (seems fair to the Windows crowd).
Guido van Rossum [Thu, 26 Mar 1998 20:22:30 +0000 (20:22 +0000)]
Reindented with tabs only (seems fair to the Windows crowd).

26 years agoAdd a sleep(0.00001) call to make sure all threads run.
Guido van Rossum [Thu, 26 Mar 1998 20:09:16 +0000 (20:09 +0000)]
Add a sleep(0.00001) call to make sure all threads run.

26 years agoGet rid of the Emacs cruft now that Python-mode guess the desired settings!
Guido van Rossum [Thu, 26 Mar 1998 19:52:46 +0000 (19:52 +0000)]
Get rid of the Emacs cruft now that Python-mode guess the desired settings!

26 years agoMass check-in after untabifying all files that need it.
Guido van Rossum [Thu, 26 Mar 1998 19:42:58 +0000 (19:42 +0000)]
Mass check-in after untabifying all files that need it.

26 years agoGet rid of the Emacs cruft now that Python-mode guess the desired settings!
Guido van Rossum [Thu, 26 Mar 1998 19:30:30 +0000 (19:30 +0000)]
Get rid of the Emacs cruft now that Python-mode guess the desired settings!

26 years agoAdd -q option that *just* prints the filename.
Guido van Rossum [Thu, 26 Mar 1998 19:23:43 +0000 (19:23 +0000)]
Add -q option that *just* prints the filename.