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

26 years agoGet rid of the check for -linet -- recent Sequent Dynix systems don't
Guido van Rossum [Thu, 26 Mar 1998 18:44:10 +0000 (18:44 +0000)]
Get rid of the check for -linet -- recent Sequent Dynix systems don't
need this any more and apparently it screws up their configuration.

26 years ago(py-postprocess-output-buffer): Return t if an exception was found,
Barry Warsaw [Thu, 26 Mar 1998 16:08:59 +0000 (16:08 +0000)]
(py-postprocess-output-buffer): Return t if an exception was found,
otherwise return nil.

(py-execute-region): When executing the buffer asynchronously in a
subprocess, if an exception occurred, show both the output buffer and
the file containing the exception, leaving point on the source line
containing bottom-most error in the traceback.  If no exception
occurred, jump to the output buffer (no change).

26 years ago(py-execute-region): Watch out for shell-command-on-region killing a
Barry Warsaw [Wed, 25 Mar 1998 23:27:17 +0000 (23:27 +0000)]
(py-execute-region): Watch out for shell-command-on-region killing a
zero sized output buffer.

26 years agoSupport 'whence' parameter to seek().
Guido van Rossum [Wed, 25 Mar 1998 16:25:26 +0000 (16:25 +0000)]
Support 'whence' parameter to seek().

26 years agoDon't use the fncychap package for HOWTO documents; appendices break. Still
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.

26 years agoPython HOWTO template document, with lots of help from AMK.
Fred Drake [Wed, 25 Mar 1998 15:39:49 +0000 (15:39 +0000)]
Python HOWTO template document, with lots of help from AMK.

26 years agoUpdate.
Fred Drake [Wed, 25 Mar 1998 14:56:01 +0000 (14:56 +0000)]
Update.

26 years agoChange uses of \pdfinfo and \pdfcatalog to use the new syntax from the
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.

26 years agoMake $MYDIR absolute -- bug reported by AMK.
Fred Drake [Tue, 24 Mar 1998 17:48:20 +0000 (17:48 +0000)]
Make $MYDIR absolute -- bug reported by AMK.

26 years agogive in to tab police
Guido van Rossum [Tue, 24 Mar 1998 05:30:29 +0000 (05:30 +0000)]
give in to tab police

26 years agoReport first line with inconsistent tab usage.
Guido van Rossum [Tue, 24 Mar 1998 04:58:04 +0000 (04:58 +0000)]
Report first line with inconsistent tab usage.

26 years agoCheck for boundary errors in [r]find -- find("x", "", 2) should return -1.
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.

26 years agoGive in to Timmy's Tedious Tab Theorem.
Guido van Rossum [Mon, 23 Mar 1998 15:31:22 +0000 (15:31 +0000)]
Give in to Timmy's Tedious Tab Theorem.

26 years agoGive in to the tab police.
Guido van Rossum [Fri, 20 Mar 1998 20:45:49 +0000 (20:45 +0000)]
Give in to the tab police.

26 years agoThe Tab Police watches for possibly inconsistent indentation.
Guido van Rossum [Fri, 20 Mar 1998 19:23:04 +0000 (19:23 +0000)]
The Tab Police watches for possibly inconsistent indentation.

26 years agoBig changes by Mark Hammond to support freezing with DLLs on Windows.
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.

26 years agoMark Hammond's main program for a frozen application.
Guido van Rossum [Fri, 20 Mar 1998 17:34:26 +0000 (17:34 +0000)]
Mark Hammond's main program for a frozen application.

26 years agoRemoved all the mixed indentation face stuff. It's not as helpful as
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.

26 years ago(py-tab-face): => py-mixed-indentation-face
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.

26 years ago(py-in-literal, py-fast-in-literal): New functions (mostly) stolen
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.

26 years ago#minor change to eval-while-compile so that it must both find
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).

26 years ago(py-tab-face, python-font-lock-keywords): Color all tabs at the start
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".

26 years agoFix indent of one line in mkarg(), that got indented badly by the
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!

26 years agoUse "/usr/bin/env perl" for the #! line, and change the -i option to:
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.

26 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.

26 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...

26 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().

26 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.

26 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

26 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

26 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.

26 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.

26 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.

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

Fix some small but messy buglets.

26 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.

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

26 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.

26 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.

26 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.

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

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

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

26 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

26 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

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

26 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.

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

26 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.

26 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.

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

Adjusted some index entries.

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

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

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

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

Emphasized title "4Sight User's Guide".

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

Some additional index entries.

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

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

26 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.

26 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.

26 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.

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

26 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.

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

26 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.

26 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.

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

26 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().

26 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.

26 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.

26 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.

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

26 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>

26 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.

26 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.

26 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...!

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

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

26 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.

26 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.

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

26 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

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

Lots of nits in both.

26 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}.

26 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.

26 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.

26 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.

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

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

Improve some index entries.

26 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.