]>
granicus.if.org Git - python/log
Fred Drake [Wed, 25 Mar 1998 15:41:23 +0000 (15:41 +0000)]
Don't use the fncychap package for HOWTO documents; appendices break. Still
use them for manuals.
Fred Drake [Wed, 25 Mar 1998 15:39:49 +0000 (15:39 +0000)]
Python HOWTO template document, with lots of help from AMK.
Fred Drake [Wed, 25 Mar 1998 14:56:01 +0000 (14:56 +0000)]
Update.
Fred Drake [Wed, 25 Mar 1998 14:53:43 +0000 (14:53 +0000)]
Change uses of \pdfinfo and \pdfcatalog to use the new syntax from the
latest pdftex. (Which we have here at CNRI.) This makes the PDF targets
work again.
Fred Drake [Tue, 24 Mar 1998 17:48:20 +0000 (17:48 +0000)]
Make $MYDIR absolute -- bug reported by AMK.
Guido van Rossum [Tue, 24 Mar 1998 05:30:29 +0000 (05:30 +0000)]
give in to tab police
Guido van Rossum [Tue, 24 Mar 1998 04:58:04 +0000 (04:58 +0000)]
Report first line with inconsistent tab usage.
Guido van Rossum [Tue, 24 Mar 1998 04:19:22 +0000 (04:19 +0000)]
Check for boundary errors in [r]find -- find("x", "", 2) should return -1.
Guido van Rossum [Mon, 23 Mar 1998 15:31:22 +0000 (15:31 +0000)]
Give in to Timmy's Tedious Tab Theorem.
Guido van Rossum [Fri, 20 Mar 1998 20:45:49 +0000 (20:45 +0000)]
Give in to the tab police.
Guido van Rossum [Fri, 20 Mar 1998 19:23:04 +0000 (19:23 +0000)]
The Tab Police watches for possibly inconsistent indentation.
Guido van Rossum [Fri, 20 Mar 1998 17:37:24 +0000 (17:37 +0000)]
Big changes by Mark Hammond to support freezing with DLLs on Windows.
Guido van Rossum [Fri, 20 Mar 1998 17:34:26 +0000 (17:34 +0000)]
Mark Hammond's main program for a frozen application.
Barry Warsaw [Fri, 20 Mar 1998 17:06:11 +0000 (17:06 +0000)]
Removed all the mixed indentation face stuff. It's not as helpful as
it at first seems. I think we've got a good idea of what to do, but
it'll be a bit of work... for later.
Barry Warsaw [Fri, 20 Mar 1998 14:48:30 +0000 (14:48 +0000)]
(py-tab-face): => py-mixed-indentation-face
(python-font-lock-keywords): Better regexp given by Sjoerd. This
matches only mixed indentation which is probably more useful than
matching all tabs.
Barry Warsaw [Thu, 19 Mar 1998 22:48:02 +0000 (22:48 +0000)]
(py-in-literal, py-fast-in-literal): New functions (mostly) stolen
from CC Mode.
(py-guess-indent-offset): Teach it about colons in `literals'
(e.g. comments and strings). Don't false hit colons in literals; keep
searching for a real block introducing line.
Barry Warsaw [Thu, 19 Mar 1998 22:33:06 +0000 (22:33 +0000)]
#minor change to eval-while-compile so that it must both find
#custom.el and have an up-to-date version (i.e. one that defines
#defcustom -- which Emacs 19.34's by default does not).
Barry Warsaw [Thu, 19 Mar 1998 21:52:06 +0000 (21:52 +0000)]
(py-tab-face, python-font-lock-keywords): Color all tabs at the start
of a line in py-tab-face to aid in seeing mixed tab/space indentation.
This face defaults to the `default' face so it is unobtrusive until
you `M-x customize-face' py-tab-face to something obnoxious like
"Yellow".
Guido van Rossum [Thu, 19 Mar 1998 15:14:24 +0000 (15:14 +0000)]
Fix indent of one line in mkarg(), that got indented badly by the
recent reindent!
Fred Drake [Thu, 19 Mar 1998 05:17:49 +0000 (05:17 +0000)]
Use "/usr/bin/env perl" for the #! line, and change the -i option to:
use English;
$INPLACE_EDIT = '';
to get the inplace-editing behavior.
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.
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...
Guido van Rossum [Wed, 18 Mar 1998 17:48:06 +0000 (17:48 +0000)]
Add obvious needed else clause to format_exception().
Guido van Rossum [Tue, 17 Mar 1998 21:28:21 +0000 (21:28 +0000)]
Fix bug in islocked() -- it would always return 0.
Barry Warsaw [Tue, 17 Mar 1998 16:19:05 +0000 (16:19 +0000)]
update while dragging defaults to 0
Barry Warsaw [Tue, 17 Mar 1998 15:59:26 +0000 (15:59 +0000)]
No update while dragging still tracks the arrows
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.
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.
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.
Fred Drake [Tue, 17 Mar 1998 06:29:13 +0000 (06:29 +0000)]
Coding cleanups.
Fix some small but messy buglets.
Fred Drake [Tue, 17 Mar 1998 06:28:05 +0000 (06:28 +0000)]
Get the index working at least partway again.
Some small cleanups.
Fred Drake [Tue, 17 Mar 1998 06:24:10 +0000 (06:24 +0000)]
Update....
Fred Drake [Tue, 17 Mar 1998 06:23:13 +0000 (06:23 +0000)]
Revert the index stuff to work better with LaTeX2HTML.
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.
Fred Drake [Tue, 17 Mar 1998 06:20:04 +0000 (06:20 +0000)]
Reverting some of the index stuff to work with LaTeX2HTML better.
Fred Drake [Tue, 17 Mar 1998 02:02:51 +0000 (02:02 +0000)]
Logical markup, consistency.
Guido van Rossum [Tue, 17 Mar 1998 00:00:18 +0000 (00:00 +0000)]
Added PyErr_NormalizeException
Barry Warsaw [Mon, 16 Mar 1998 23:35:11 +0000 (23:35 +0000)]
Get rid of Entrywidget
Barry Warsaw [Mon, 16 Mar 1998 23:09:04 +0000 (23:09 +0000)]
Add option for no updates on typing
Barry Warsaw [Mon, 16 Mar 1998 23:08:53 +0000 (23:08 +0000)]
Add option for no updates on dragging
Barry Warsaw [Mon, 16 Mar 1998 23:08:35 +0000 (23:08 +0000)]
Use the new PyncheOptions widget
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.
Fred Drake [Mon, 16 Mar 1998 16:15:49 +0000 (16:15 +0000)]
Revive newind.py. -sigh-
Fred Drake [Mon, 16 Mar 1998 06:38:42 +0000 (06:38 +0000)]
Logical markup.
Convert a {description} list to a {tableii} environment.
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.
Fred Drake [Mon, 16 Mar 1998 05:23:50 +0000 (05:23 +0000)]
Markup nits.
Adjusted some index entries.
Fred Drake [Mon, 16 Mar 1998 05:22:08 +0000 (05:22 +0000)]
Adjusted an index entry.
Fred Drake [Mon, 16 Mar 1998 05:21:08 +0000 (05:21 +0000)]
Added an index entry.
Fred Drake [Mon, 16 Mar 1998 05:07:04 +0000 (05:07 +0000)]
Use {classdesc} consistently.
Fred Drake [Sun, 15 Mar 1998 02:04:59 +0000 (02:04 +0000)]
Logical markup.
Emphasized title "4Sight User's Guide".
Fred Drake [Sun, 15 Mar 1998 01:59:57 +0000 (01:59 +0000)]
Markup nits.
Some additional index entries.
Fred Drake [Sat, 14 Mar 1998 22:22:14 +0000 (22:22 +0000)]
Logical markup.
Fred Drake [Sat, 14 Mar 1998 21:53:48 +0000 (21:53 +0000)]
Logical 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.
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.
Fred Drake [Sat, 14 Mar 1998 07:08:02 +0000 (07:08 +0000)]
Logical markup, using {classdesc} as appropriate.
Fred Drake [Sat, 14 Mar 1998 07:00:41 +0000 (07:00 +0000)]
Logical markup.
Fred Drake [Sat, 14 Mar 1998 06:48:33 +0000 (06:48 +0000)]
Logical markup, using {classdesc} as appropriate.
Fred Drake [Sat, 14 Mar 1998 06:40:34 +0000 (06:40 +0000)]
Logical 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.
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.
Fred Drake [Sat, 14 Mar 1998 06:16:57 +0000 (06:16 +0000)]
Logical markup.
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().
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.
Barry Warsaw [Fri, 13 Mar 1998 20:04:52 +0000 (20:04 +0000)]
#(py-smart-indentation): Small fixes for clarity in the docstring.
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.
Barry Warsaw [Fri, 13 Mar 1998 18:33:34 +0000 (18:33 +0000)]
example output is different
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>
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.
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.
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...!
Fred Drake [Thu, 12 Mar 1998 15:33:05 +0000 (15:33 +0000)]
Logical markup.
Fred Drake [Thu, 12 Mar 1998 14:42:23 +0000 (14:42 +0000)]
Logical markup.
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.
Guido van Rossum [Thu, 12 Mar 1998 14:32:55 +0000 (14:32 +0000)]
Added support for "data" URL, by Sjoerd Mullender.
Barry Warsaw [Thu, 12 Mar 1998 14:05:37 +0000 (14:05 +0000)]
Added URL for UK
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
Fred Drake [Thu, 12 Mar 1998 06:52:05 +0000 (06:52 +0000)]
Logical markup.
Lots of nits in both.
Fred Drake [Thu, 12 Mar 1998 06:47:48 +0000 (06:47 +0000)]
Use \envvar{FOO} instead of \code{\$FOO}.
Fred Drake [Thu, 12 Mar 1998 06:46:16 +0000 (06:46 +0000)]
Use \withsubitem{} for indexing extra-module functions.
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.
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.
Fred Drake [Thu, 12 Mar 1998 06:04:53 +0000 (06:04 +0000)]
Logical markup.
Fred Drake [Thu, 12 Mar 1998 05:54:02 +0000 (05:54 +0000)]
Logical markup.
Improve some index entries.
Fred Drake [Thu, 12 Mar 1998 05:33:40 +0000 (05:33 +0000)]
Logical markup.
Markup consistency.
Removed incorrect \setindexsubitem{}.
Guido van Rossum [Wed, 11 Mar 1998 17:49:55 +0000 (17:49 +0000)]
Add LINKFORSHARED and LDLAST as in the main Makefile.
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.
Barry Warsaw [Wed, 11 Mar 1998 16:53:21 +0000 (16:53 +0000)]
Use RCS revisions
Barry Warsaw [Wed, 11 Mar 1998 16:50:31 +0000 (16:50 +0000)]
Updated the docstring
Barry Warsaw [Wed, 11 Mar 1998 16:46:04 +0000 (16:46 +0000)]
Added reverse lookup
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.
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.
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.
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.
Fred Drake [Wed, 11 Mar 1998 06:24:46 +0000 (06:24 +0000)]
Logical markup.
Fred Drake [Wed, 11 Mar 1998 06:18:15 +0000 (06:18 +0000)]
Logical 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.
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.
Fred Drake [Wed, 11 Mar 1998 05:50:42 +0000 (05:50 +0000)]
Logical 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.