]> granicus.if.org Git - python/log
python
27 years agobuild_dvi(): Make sure we run latex enough times; this now matches the #
Fred Drake [Wed, 18 Mar 1998 22:06:13 +0000 (22:06 +0000)]
build_dvi():  Make sure we run latex enough times; this now matches the #
of times pdflatex would be run, which is correct.

27 years agoSubtle fix in the read() code which could cause a read broken up in
Guido van Rossum [Wed, 18 Mar 1998 17:59:20 +0000 (17:59 +0000)]
Subtle fix in the read() code which could cause a read broken up in
several pieces to fail...

27 years agoAdd obvious needed else clause to format_exception().
Guido van Rossum [Wed, 18 Mar 1998 17:48:06 +0000 (17:48 +0000)]
Add obvious needed else clause to format_exception().

27 years agoFix bug in islocked() -- it would always return 0.
Guido van Rossum [Tue, 17 Mar 1998 21:28:21 +0000 (21:28 +0000)]
Fix bug in islocked() -- it would always return 0.

27 years agoupdate while dragging defaults to 0
Barry Warsaw [Tue, 17 Mar 1998 16:19:05 +0000 (16:19 +0000)]
update while dragging defaults to 0

27 years agoNo update while dragging still tracks the arrows
Barry Warsaw [Tue, 17 Mar 1998 15:59:26 +0000 (15:59 +0000)]
No update while dragging still tracks the arrows

27 years agoPrefer clock() over times() for timer function, except on the Mac,
Guido van Rossum [Tue, 17 Mar 1998 14:46:43 +0000 (14:46 +0000)]
Prefer clock() over times() for timer function, except on the Mac,
where we use GetTicks() -- its clock() is a crock, with only 1 second
accuracy, I believe.

27 years agoAccording to Tim Peters, there should be 'print' statements in one
Guido van Rossum [Tue, 17 Mar 1998 14:37:48 +0000 (14:37 +0000)]
According to Tim Peters, there should be 'print' statements in one
particular example.

27 years agoChange "\," to just "," in function signatures. This is easier to maintain,
Fred Drake [Tue, 17 Mar 1998 06:33:25 +0000 (06:33 +0000)]
Change "\," to just "," in function signatures.  This is easier to maintain,
works better with LaTeX2HTML, and allows some simplification of the python.sty
macros.

27 years agoCoding cleanups.
Fred Drake [Tue, 17 Mar 1998 06:29:13 +0000 (06:29 +0000)]
Coding cleanups.

Fix some small but messy buglets.

27 years agoGet the index working at least partway again.
Fred Drake [Tue, 17 Mar 1998 06:28:05 +0000 (06:28 +0000)]
Get the index working at least partway again.

Some small cleanups.

27 years agoUpdate....
Fred Drake [Tue, 17 Mar 1998 06:24:10 +0000 (06:24 +0000)]
Update....

27 years agoRevert the index stuff to work better with LaTeX2HTML.
Fred Drake [Tue, 17 Mar 1998 06:23:13 +0000 (06:23 +0000)]
Revert the index stuff to work better with LaTeX2HTML.

27 years agoReverting some the index stuff to use tools/newind.py again; this works
Fred Drake [Tue, 17 Mar 1998 06:22:12 +0000 (06:22 +0000)]
Reverting some the index stuff to use tools/newind.py again; this works
better with LaTeX2HTML.

Run pdflatex twice to generate the PDF files, even though LaTeX has already
been run a couple of times.  This ensures that font metrics for the final
run match those for the first run, and seesm to get (somewhat) better
outline results.

27 years agoReverting some of the index stuff to work with LaTeX2HTML better.
Fred Drake [Tue, 17 Mar 1998 06:20:04 +0000 (06:20 +0000)]
Reverting some of the index stuff to work with LaTeX2HTML better.

27 years agoLogical markup, consistency.
Fred Drake [Tue, 17 Mar 1998 02:02:51 +0000 (02:02 +0000)]
Logical markup, consistency.

27 years agoAdded PyErr_NormalizeException
Guido van Rossum [Tue, 17 Mar 1998 00:00:18 +0000 (00:00 +0000)]
Added PyErr_NormalizeException

27 years agoGet rid of Entrywidget
Barry Warsaw [Mon, 16 Mar 1998 23:35:11 +0000 (23:35 +0000)]
Get rid of Entrywidget

27 years agoAdd option for no updates on typing
Barry Warsaw [Mon, 16 Mar 1998 23:09:04 +0000 (23:09 +0000)]
Add option for no updates on typing

27 years agoAdd option for no updates on dragging
Barry Warsaw [Mon, 16 Mar 1998 23:08:53 +0000 (23:08 +0000)]
Add option for no updates on dragging

27 years agoUse the new PyncheOptions widget
Barry Warsaw [Mon, 16 Mar 1998 23:08:35 +0000 (23:08 +0000)]
Use the new PyncheOptions widget

27 years ago(py-smart-indentation): Updated docstring for new policy.
Barry Warsaw [Mon, 16 Mar 1998 18:12:13 +0000 (18:12 +0000)]
(py-smart-indentation): Updated docstring for new policy.

(python-mode): Implement new policy: never turn indent-tabs-mode on.
Only turn it off if tab-width != py-indent-offset.

27 years agoRevive newind.py. -sigh-
Fred Drake [Mon, 16 Mar 1998 16:15:49 +0000 (16:15 +0000)]
Revive newind.py.  -sigh-

27 years agoLogical markup.
Fred Drake [Mon, 16 Mar 1998 06:38:42 +0000 (06:38 +0000)]
Logical markup.

Convert a {description} list to a {tableii} environment.

27 years ago{classdesc} environment: Index as "Foo (class in foolib)" instead of
Fred Drake [Mon, 16 Mar 1998 05:26:10 +0000 (05:26 +0000)]
{classdesc} environment:  Index as "Foo (class in foolib)" instead of
"Foo (in module foolib)".  Is now independent of indexsubitem.

27 years agoMarkup nits.
Fred Drake [Mon, 16 Mar 1998 05:23:50 +0000 (05:23 +0000)]
Markup nits.

Adjusted some index entries.

27 years agoAdjusted an index entry.
Fred Drake [Mon, 16 Mar 1998 05:22:08 +0000 (05:22 +0000)]
Adjusted an index entry.

27 years agoAdded an index entry.
Fred Drake [Mon, 16 Mar 1998 05:21:08 +0000 (05:21 +0000)]
Added an index entry.

27 years agoUse {classdesc} consistently.
Fred Drake [Mon, 16 Mar 1998 05:07:04 +0000 (05:07 +0000)]
Use {classdesc} consistently.

27 years agoLogical markup.
Fred Drake [Sun, 15 Mar 1998 02:04:59 +0000 (02:04 +0000)]
Logical markup.

Emphasized title "4Sight User's Guide".

27 years agoMarkup nits.
Fred Drake [Sun, 15 Mar 1998 01:59:57 +0000 (01:59 +0000)]
Markup nits.

Some additional index entries.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 22:22:14 +0000 (22:22 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 21:53:48 +0000 (21:53 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 20:09:15 +0000 (20:09 +0000)]
Logical markup.

Replace ugly {description} with a {tableii}, for the what() return values.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 19:47:23 +0000 (19:47 +0000)]
Logical markup.

Replace ugly {description} with a {tableii}, for the option descriptions.

27 years agoLogical markup, using {classdesc} as appropriate.
Fred Drake [Sat, 14 Mar 1998 07:08:02 +0000 (07:08 +0000)]
Logical markup, using {classdesc} as appropriate.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 07:00:41 +0000 (07:00 +0000)]
Logical markup.

27 years agoLogical markup, using {classdesc} as appropriate.
Fred Drake [Sat, 14 Mar 1998 06:48:33 +0000 (06:48 +0000)]
Logical markup, using {classdesc} as appropriate.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 06:40:34 +0000 (06:40 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 06:30:13 +0000 (06:30 +0000)]
Logical markup.

Use {classdesc} environments to describe the constructors, and place them
at the top.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 06:17:43 +0000 (06:17 +0000)]
Logical markup.

Wrap general Message class description in a {classdesc} instead of nothing at
all.

27 years agoLogical markup.
Fred Drake [Sat, 14 Mar 1998 06:16:57 +0000 (06:16 +0000)]
Logical markup.

27 years agoUse a faster way to check for null bytes in the string argument for
Guido van Rossum [Fri, 13 Mar 1998 21:30:14 +0000 (21:30 +0000)]
Use a faster way to check for null bytes in the string argument for
int(), long(), float().

27 years agoAs Mike Fletcher pointed out, a __deepcopy__() method should be called
Guido van Rossum [Fri, 13 Mar 1998 20:12:17 +0000 (20:12 +0000)]
As Mike Fletcher pointed out, a __deepcopy__() method should be called
with the memo as an argument.

27 years ago#(py-smart-indentation): Small fixes for clarity in the docstring.
Barry Warsaw [Fri, 13 Mar 1998 20:04:52 +0000 (20:04 +0000)]
#(py-smart-indentation): Small fixes for clarity in the docstring.

27 years ago(python-mode): Removed vi vi vi hack for setting the tab width from a
Barry Warsaw [Fri, 13 Mar 1998 18:53:15 +0000 (18:53 +0000)]
(python-mode): Removed vi vi vi hack for setting the tab width from a
magic comment.  Now Guido only has to worry about the northern
Wisconsin Braces Freedom Fighter Militia.

27 years agoexample output is different
Barry Warsaw [Fri, 13 Mar 1998 18:33:34 +0000 (18:33 +0000)]
example output is different

27 years agoTypos in the docstring fixed by Detlef Lannert
Barry Warsaw [Fri, 13 Mar 1998 18:27:12 +0000 (18:27 +0000)]
Typos in the docstring fixed by Detlef Lannert
<lannert@uni-duesseldorf.de>

27 years ago(py-smart-indentation): New variable which controls the automagic
Barry Warsaw [Fri, 13 Mar 1998 17:29:15 +0000 (17:29 +0000)]
(py-smart-indentation): New variable which controls the automagic
setting of py-indent-offset and indent-tabs-mode.

(python-mode): After python-mode-hook is run, do the automagic
calculation if py-smart-indentation is non-nil.

(py-parse-state): Get rid of unused variable to quiet the
byte-compiler.

27 years agoBring this up to date. Some things still don't work right.
Fred Drake [Thu, 12 Mar 1998 21:03:26 +0000 (21:03 +0000)]
Bring this up to date.  Some things still don't work right.

27 years ago\regexp{}: Rewritten to look like Freidl's book. Too rip-off?
Fred Drake [Thu, 12 Mar 1998 19:37:03 +0000 (19:37 +0000)]
\regexp{}:  Rewritten to look like Freidl's book.  Too rip-off?

\envvar{}:  Bow to font-lock-mode a few times...!

27 years agoLogical markup.
Fred Drake [Thu, 12 Mar 1998 15:33:05 +0000 (15:33 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Thu, 12 Mar 1998 14:42:23 +0000 (14:42 +0000)]
Logical markup.

27 years agoUse {classdesc} instead of {funcdesc} for HTMLParser.
Fred Drake [Thu, 12 Mar 1998 14:39:09 +0000 (14:39 +0000)]
Use {classdesc} instead of {funcdesc} for HTMLParser.

Clean up index reference to SGMLParser class.

27 years agoAdded support for "data" URL, by Sjoerd Mullender.
Guido van Rossum [Thu, 12 Mar 1998 14:32:55 +0000 (14:32 +0000)]
Added support for "data" URL, by Sjoerd Mullender.

27 years agoAdded URL for UK
Barry Warsaw [Thu, 12 Mar 1998 14:05:37 +0000 (14:05 +0000)]
Added URL for UK

27 years agoAdded a hack to deal with common practice 'uk' for United Kingdom
Barry Warsaw [Thu, 12 Mar 1998 13:15:28 +0000 (13:15 +0000)]
Added a hack to deal with common practice 'uk' for United Kingdom

27 years agoLogical markup.
Fred Drake [Thu, 12 Mar 1998 06:52:05 +0000 (06:52 +0000)]
Logical markup.

Lots of nits in both.

27 years agoUse \envvar{FOO} instead of \code{\$FOO}.
Fred Drake [Thu, 12 Mar 1998 06:47:48 +0000 (06:47 +0000)]
Use \envvar{FOO} instead of \code{\$FOO}.

27 years agoUse \withsubitem{} for indexing extra-module functions.
Fred Drake [Thu, 12 Mar 1998 06:46:16 +0000 (06:46 +0000)]
Use \withsubitem{} for indexing extra-module functions.

27 years agoUse \withsubitem{} for indexing functions from other modules. This fixes
Fred Drake [Thu, 12 Mar 1998 06:44:58 +0000 (06:44 +0000)]
Use \withsubitem{} for indexing functions from other modules.  This fixes
things in the index.

27 years ago\withsubitem{}: New macro. Change indexsubitem temporarily for another
Fred Drake [Thu, 12 Mar 1998 06:41:40 +0000 (06:41 +0000)]
\withsubitem{}:  New macro.  Change indexsubitem temporarily for another
macro.  Intended usage:

\withsubitem{(in module foo)}{\ttindex{myfunc()}}

This allows indexing functions from other modules/class/whatnot
without being dependent on the exact expansions of several macros
internal to python.sty.  It's also easier to read in the source!

Some new "logical" macros that seem to be useful:

\regexp{}:  For regular expressions.  To make it easier to keep the appearance
consistent.

\mimetype{}:  Don't use \code{}!

\envvar{}:  Environment variable.  This does some indexing as well.

\character{}:  Just a character we want to talk about in the text, but not
a Python constant.

27 years agoLogical markup.
Fred Drake [Thu, 12 Mar 1998 06:04:53 +0000 (06:04 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Thu, 12 Mar 1998 05:54:02 +0000 (05:54 +0000)]
Logical markup.

Improve some index entries.

27 years agoLogical markup.
Fred Drake [Thu, 12 Mar 1998 05:33:40 +0000 (05:33 +0000)]
Logical markup.

Markup consistency.

Removed incorrect \setindexsubitem{}.

27 years agoAdd LINKFORSHARED and LDLAST as in the main Makefile.
Guido van Rossum [Wed, 11 Mar 1998 17:49:55 +0000 (17:49 +0000)]
Add LINKFORSHARED and LDLAST as in the main Makefile.

27 years agoAdd copyright statement.
Fred Drake [Wed, 11 Mar 1998 17:07:35 +0000 (17:07 +0000)]
Add copyright statement.

Add section on using A4 paper, since that's a common request.

27 years agoUse RCS revisions
Barry Warsaw [Wed, 11 Mar 1998 16:53:21 +0000 (16:53 +0000)]
Use RCS revisions

27 years agoUpdated the docstring
Barry Warsaw [Wed, 11 Mar 1998 16:50:31 +0000 (16:50 +0000)]
Updated the docstring

27 years agoAdded reverse lookup
Barry Warsaw [Wed, 11 Mar 1998 16:46:04 +0000 (16:46 +0000)]
Added reverse lookup

27 years ago*Sigh*
Fred Drake [Wed, 11 Mar 1998 15:41:21 +0000 (15:41 +0000)]
*Sigh*

Add a -q option for "quiet" operation.  Nothing gets out (not even stderr,
since that's tossed to stdout for capture in the .how file).  It's a good
idea to use -l to get the log in case there are problems.  Maybe this should
be the default and add a --verbose option to get the stdout?  There's way
too much junk output.

27 years agoAllow the user to operate the script in debugging mode (-D), which just does
Fred Drake [Wed, 11 Mar 1998 15:33:44 +0000 (15:33 +0000)]
Allow the user to operate the script in debugging mode (-D), which just does
a "set -x".

Allow keeping a transcript, using -l, in $FILE.how.

Allow keeping of all the temp files created by the process, using -k.

27 years agoSomewhat more direct way of locating the file, using __FILE__.
Fred Drake [Wed, 11 Mar 1998 12:08:21 +0000 (12:08 +0000)]
Somewhat more direct way of locating the file, using __FILE__.

Leave find_my_file() around for now, even though we're not using it at the
moment.

27 years agoReplace lists of attributes for code and frame objects with a reference to the
Fred Drake [Wed, 11 Mar 1998 06:29:59 +0000 (06:29 +0000)]
Replace lists of attributes for code and frame objects with a reference to the
Python Reference Manual.

27 years agoLogical markup.
Fred Drake [Wed, 11 Mar 1998 06:24:46 +0000 (06:24 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Wed, 11 Mar 1998 06:18:15 +0000 (06:18 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Wed, 11 Mar 1998 06:11:37 +0000 (06:11 +0000)]
Logical markup.

Changed example to use "import posixfile" instead of "from posixfile import *"
since only one symbol was used.

27 years agoLogical markup.
Fred Drake [Wed, 11 Mar 1998 06:00:23 +0000 (06:00 +0000)]
Logical markup.

Made references to constants in other TERMIOS module explicit in termios
description.

Removed superfluous backslash from example.

27 years agoLogical markup.
Fred Drake [Wed, 11 Mar 1998 05:50:42 +0000 (05:50 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Wed, 11 Mar 1998 05:29:58 +0000 (05:29 +0000)]
Logical markup.

Added information on the exception attributes when exceptions are classes.

27 years agoScript to format HOWTO documents. Currently only tested on the "Using
Fred Drake [Tue, 10 Mar 1998 23:23:05 +0000 (23:23 +0000)]
Script to format HOWTO documents.  Currently only tested on the "Using
Kerberos from Python" HOWTO (this will change shortly, I hope).

This needs to be run from it's location in the Doc/tools directory, and
not via a symlink.  I'll try and fix this in the future.

The help message needs work.

27 years agoUse the location of the initialization file to augment the style-specific
Fred Drake [Tue, 10 Mar 1998 23:02:57 +0000 (23:02 +0000)]
Use the location of the initialization file to augment the style-specific
.perl file search path, rather than making assumptions about the current
directory.

27 years agoclean_title(): Remove debugging prints.
Fred Drake [Tue, 10 Mar 1998 14:33:27 +0000 (14:33 +0000)]
clean_title():  Remove debugging prints.

27 years agoclean_title(): Clean a little more carefully. Still does funny things with
Fred Drake [Tue, 10 Mar 1998 14:02:35 +0000 (14:02 +0000)]
clean_title():  Clean a little more carefully.  Still does funny things with
underscores.  Might this be a fundamental PDF limitation?  Hm, could
still be a TeX thing.

27 years agoIn the source dist., don't include:
Fred Drake [Tue, 10 Mar 1998 14:00:55 +0000 (14:00 +0000)]
In the source dist., don't include:

- the .cvsignore files; these are only useful in the CVS tree

- ref/ref.pdf

- ref/ref.ps

After compression, these last two account for about one-half MB, and half
the tarball.  They can be picked up from the appropriate format dist if
needed.

27 years agoLogical markup.
Fred Drake [Tue, 10 Mar 1998 05:41:08 +0000 (05:41 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Tue, 10 Mar 1998 05:32:30 +0000 (05:32 +0000)]
Logical markup.

Correct misuse of indexsubutem.

Describe the Queue class using {classdesc}{Queue}, not {funcdesc}{__init__}.

27 years agoAdd some more labels for logical addressing.
Fred Drake [Tue, 10 Mar 1998 05:21:39 +0000 (05:21 +0000)]
Add some more labels for logical addressing.

27 years agoLogical markup.
Fred Drake [Tue, 10 Mar 1998 05:20:33 +0000 (05:20 +0000)]
Logical markup.

27 years agopatch for re.sub bug, by AMK.
Guido van Rossum [Tue, 10 Mar 1998 04:55:29 +0000 (04:55 +0000)]
patch for re.sub bug, by AMK.

27 years agoLogical markup.
Fred Drake [Tue, 10 Mar 1998 04:23:12 +0000 (04:23 +0000)]
Logical markup.

Convert one bulleted list to a {tableii} environment; the other should
probably be converted, but I haven't decided to what.

27 years agoUse a {datadesc} environment to describe errorcode.
Fred Drake [Tue, 10 Mar 1998 03:53:03 +0000 (03:53 +0000)]
Use a {datadesc} environment to describe errorcode.

27 years agoLogical markup.
Fred Drake [Tue, 10 Mar 1998 03:38:31 +0000 (03:38 +0000)]
Logical markup.

27 years agoLogical markup.
Fred Drake [Tue, 10 Mar 1998 03:36:00 +0000 (03:36 +0000)]
Logical markup.

Use {funcdesc} and {excdesc} to describe the module, not just running text.

27 years agoLogical markup. small nits.
Fred Drake [Tue, 10 Mar 1998 03:17:26 +0000 (03:17 +0000)]
Logical markup. small nits.

27 years agoIntegrate with OptionsWindow... need to hook into Tab key
Barry Warsaw [Tue, 10 Mar 1998 00:17:30 +0000 (00:17 +0000)]
Integrate with OptionsWindow... need to hook into Tab key

27 years agoIntegrate with OptionsWindow... not sure it should be modal
Barry Warsaw [Tue, 10 Mar 1998 00:17:01 +0000 (00:17 +0000)]
Integrate with OptionsWindow... not sure it should be modal

27 years agoCosmetic
Barry Warsaw [Tue, 10 Mar 1998 00:16:09 +0000 (00:16 +0000)]
Cosmetic

27 years agoOk, remove dependency on the obsolete tools/modindex.py.
Fred Drake [Mon, 9 Mar 1998 16:43:54 +0000 (16:43 +0000)]
Ok, remove dependency on the obsolete tools/modindex.py.

27 years agoRemove \newif relating to index support; no longer needed. Index control
Fred Drake [Mon, 9 Mar 1998 16:40:31 +0000 (16:40 +0000)]
Remove \newif relating to index support; no longer needed.  Index control
is now shared and located solely in python.sty.