]>
granicus.if.org Git - python/log
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.
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.
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).
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.
Guido van Rossum [Wed, 25 Mar 1998 16:25:26 +0000 (16:25 +0000)]
Support 'whence' parameter to seek().
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.