]>
granicus.if.org Git - python/log
Fred Drake [Fri, 3 Apr 1998 20:35:03 +0000 (20:35 +0000)]
Removed line of obsolete markup.
Guido van Rossum [Fri, 3 Apr 1998 20:07:37 +0000 (20:07 +0000)]
Some clarifications of out-of-range group indexes/names
Guido van Rossum [Fri, 3 Apr 1998 19:56:40 +0000 (19:56 +0000)]
Track changes in tokenize.py
Guido van Rossum [Fri, 3 Apr 1998 17:03:13 +0000 (17:03 +0000)]
Add optional argument to help().
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.
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).
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.
Guido van Rossum [Fri, 3 Apr 1998 16:02:39 +0000 (16:02 +0000)]
Sjoerd's latest.
Guido van Rossum [Fri, 3 Apr 1998 15:57:58 +0000 (15:57 +0000)]
Oops, pulled over by the tab police :-)
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().
Fred Drake [Fri, 3 Apr 1998 15:33:43 +0000 (15:33 +0000)]
Export MPZType -- the type of mpz objects....
Fred Drake [Fri, 3 Apr 1998 07:16:46 +0000 (07:16 +0000)]
Lots of markup consistency nits.
Logical markup.
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().
Fred Drake [Fri, 3 Apr 1998 07:13:56 +0000 (07:13 +0000)]
Several minor markup nits.
Fred Drake [Fri, 3 Apr 1998 07:12:52 +0000 (07:12 +0000)]
"alternative" is a noun, use "alternate" for the adjective.
Minor nits.
Fred Drake [Fri, 3 Apr 1998 07:11:32 +0000 (07:11 +0000)]
Talk about some minor nits...
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.
Fred Drake [Fri, 3 Apr 1998 07:09:38 +0000 (07:09 +0000)]
Small markup nits.
Fred Drake [Fri, 3 Apr 1998 07:06:56 +0000 (07:06 +0000)]
Small consistency nits.
Fred Drake [Fri, 3 Apr 1998 07:06:01 +0000 (07:06 +0000)]
Capitalize "Python" for consistency.
Fred Drake [Fri, 3 Apr 1998 07:05:16 +0000 (07:05 +0000)]
New index entries.
Fred Drake [Fri, 3 Apr 1998 07:04:45 +0000 (07:04 +0000)]
Use {methoddesc} as appropriate.
Fred Drake [Fri, 3 Apr 1998 07:02:35 +0000 (07:02 +0000)]
Index entries.
Consistency nits.
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....).
Fred Drake [Fri, 3 Apr 1998 06:54:27 +0000 (06:54 +0000)]
Fix one typo.
Add a manpage reference.
Add an index entry.
Fred Drake [Fri, 3 Apr 1998 06:49:26 +0000 (06:49 +0000)]
Nits.
Add {excdesc} for zlib.error.
Use {methoddesc} where appropriate.
Fred Drake [Fri, 3 Apr 1998 06:48:16 +0000 (06:48 +0000)]
Add index entry for GzipFile class.
Fred Drake [Fri, 3 Apr 1998 06:35:54 +0000 (06:35 +0000)]
Logical markup.
Fred Drake [Fri, 3 Apr 1998 06:21:23 +0000 (06:21 +0000)]
Markup consistency.
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.
Fred Drake [Fri, 3 Apr 1998 06:12:21 +0000 (06:12 +0000)]
Minor nits.
Lots of index entries.
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.
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.
Fred Drake [Fri, 3 Apr 1998 05:42:10 +0000 (05:42 +0000)]
Minor nits.
Indent code sample to use 4-space indents.
Fred Drake [Fri, 3 Apr 1998 05:41:38 +0000 (05:41 +0000)]
Mention the --help option to tools/mkhowto.sh.
Fred Drake [Fri, 3 Apr 1998 05:31:45 +0000 (05:31 +0000)]
Minor nits.
Index entry.
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."
Fred Drake [Fri, 3 Apr 1998 05:02:28 +0000 (05:02 +0000)]
Capitalize "Python" for consistency.
Fred Drake [Fri, 3 Apr 1998 03:47:03 +0000 (03:47 +0000)]
Capitalize "Python" for consistency.
Add an index entry.
Fred Drake [Fri, 3 Apr 1998 03:44:56 +0000 (03:44 +0000)]
Logical markup.
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.
Fred Drake [Thu, 2 Apr 1998 22:39:05 +0000 (22:39 +0000)]
add_idx(): Restore message to stdout when formatting the general index.
Fred Drake [Thu, 2 Apr 1998 22:33:44 +0000 (22:33 +0000)]
Match python.sty a little better.
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.
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!
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!)
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.
Fred Drake [Thu, 2 Apr 1998 19:36:25 +0000 (19:36 +0000)]
Hyphenate "built-in" for consistency.
Barry Warsaw [Thu, 2 Apr 1998 19:27:18 +0000 (19:27 +0000)]
#Oops, I lost the CVS/RCS $Revision$
Fred Drake [Thu, 2 Apr 1998 18:54:54 +0000 (18:54 +0000)]
Hyphenate "built-in" for consistency.
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.
Fred Drake [Thu, 2 Apr 1998 18:50:21 +0000 (18:50 +0000)]
Use methoddesc instead of funcdesc to describe the only method.
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.
Fred Drake [Thu, 2 Apr 1998 18:46:44 +0000 (18:46 +0000)]
Removed reference to ni module.
Fred Drake [Thu, 2 Apr 1998 18:45:09 +0000 (18:45 +0000)]
Removed references to ni.
Fred Drake [Thu, 2 Apr 1998 18:44:38 +0000 (18:44 +0000)]
Markup nits, index entries.
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.
Fred Drake [Thu, 2 Apr 1998 16:19:15 +0000 (16:19 +0000)]
Minor markup nits.
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.
Fred Drake [Thu, 2 Apr 1998 15:53:07 +0000 (15:53 +0000)]
Some nits.
Fixed quoting in third paragraph of the findmatch() description.
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.
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 ?.
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.
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.
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.
Fred Drake [Wed, 1 Apr 1998 22:44:56 +0000 (22:44 +0000)]
Implemented one more special markup item.
Fred Drake [Wed, 1 Apr 1998 22:20:14 +0000 (22:20 +0000)]
Added some comments.
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.
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.
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).
Guido van Rossum [Tue, 31 Mar 1998 16:30:28 +0000 (16:30 +0000)]
Correct a definite typo ('mem' should be 'memo').
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.
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.
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.
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()).
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.
Fred Drake [Fri, 27 Mar 1998 05:27:08 +0000 (05:27 +0000)]
Use the new {methoddesc} and {memberdesc} environments as appropriate.
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.
Fred Drake [Fri, 27 Mar 1998 05:24:53 +0000 (05:24 +0000)]
Add support for mapping internal labels used from the index.
Fred Drake [Fri, 27 Mar 1998 05:24:03 +0000 (05:24 +0000)]
\tableofcontents: Add support for some warning reduction in python.sty.
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.
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.
Fred Drake [Fri, 27 Mar 1998 05:18:45 +0000 (05:18 +0000)]
Added note about weird sequencing of <PRE> & <dl> around {verbatim} sections.
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.
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.
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.
Guido van Rossum [Thu, 26 Mar 1998 22:14:20 +0000 (22:14 +0000)]
The usual.
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...
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.
Guido van Rossum [Thu, 26 Mar 1998 21:13:24 +0000 (21:13 +0000)]
Mass check-in after untabifying all files that need it.
Guido van Rossum [Thu, 26 Mar 1998 21:07:14 +0000 (21:07 +0000)]
Delete this unused relic.
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.
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.
Guido van Rossum [Thu, 26 Mar 1998 20:23:01 +0000 (20:23 +0000)]
Mass check-in after untabifying all files that need it.
Guido van Rossum [Thu, 26 Mar 1998 20:22:30 +0000 (20:22 +0000)]
Reindented with tabs only (seems fair to the Windows crowd).
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.
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!
Guido van Rossum [Thu, 26 Mar 1998 19:42:58 +0000 (19:42 +0000)]
Mass check-in after untabifying all files that need it.
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!
Guido van Rossum [Thu, 26 Mar 1998 19:23:43 +0000 (19:23 +0000)]
Add -q option that *just* prints the filename.