]> granicus.if.org Git - python/log
python
26 years agoOops, better add it to the usage message!
Fred Drake [Mon, 11 May 1998 19:04:56 +0000 (19:04 +0000)]
Oops, better add it to the usage message!

26 years agoAdd easy-to-use support for A4 paper.
Fred Drake [Mon, 11 May 1998 19:04:06 +0000 (19:04 +0000)]
Add easy-to-use support for A4 paper.

26 years agoRemove the tarhtml target; not useful from the sub-make.
Fred Drake [Mon, 11 May 1998 18:54:02 +0000 (18:54 +0000)]
Remove the tarhtml target; not useful from the sub-make.

26 years agoPass the release number to the tools/mktarball.sh script.
Fred Drake [Mon, 11 May 1998 18:53:07 +0000 (18:53 +0000)]
Pass the release number to the tools/mktarball.sh script.

Nits.

26 years agoAccept the release number on the command line instead of hardcoding it.
Fred Drake [Mon, 11 May 1998 18:52:24 +0000 (18:52 +0000)]
Accept the release number on the command line instead of hardcoding it.

26 years agoDon't be so ugly as to use "set -x" to get the executed commands printed.
Fred Drake [Mon, 11 May 1998 18:41:16 +0000 (18:41 +0000)]
Don't be so ugly as to use "set -x" to get the executed commands printed.

26 years agodo_cmd_kwindex(): Re-implement now that \kwindex is used again (ref man).
Fred Drake [Mon, 11 May 1998 18:31:17 +0000 (18:31 +0000)]
do_cmd_kwindex():  Re-implement now that \kwindex is used again (ref man).

26 years agoUpdate some of the comments.
Fred Drake [Mon, 11 May 1998 18:25:46 +0000 (18:25 +0000)]
Update some of the comments.

Update the .tar.gz targets so that they work from the top level.

Reinstate the api, ext, lib, ref, and tut targets.

26 years agoIn package Override, use the getcwd() function from the Cwd module instead of
Fred Drake [Mon, 11 May 1998 18:23:35 +0000 (18:23 +0000)]
In package Override, use the getcwd() function from the Cwd module instead of
the one from Override.pm (part of latex2html).

Absolutize the TEXINPUTS environment variable, since we can't count on
latex2html doing it for us (even though I sent in a patch, and it really
should).

26 years agoChanged some comments.... no longer mention FrameMaker.
Fred Drake [Mon, 11 May 1998 16:31:32 +0000 (16:31 +0000)]
Changed some comments.... no longer mention FrameMaker.

26 years agoparser_compare_nodes(): Corrected a minor type error; eliminate one GCC
Fred Drake [Mon, 11 May 1998 03:31:16 +0000 (03:31 +0000)]
parser_compare_nodes():  Corrected a minor type error; eliminate one GCC
warning (at least under Linux).

26 years agoAdd a few doc strings.
Guido van Rossum [Sun, 10 May 1998 18:27:29 +0000 (18:27 +0000)]
Add a few doc strings.

26 years agobenchmark for list.sort()
Guido van Rossum [Sun, 10 May 1998 18:20:05 +0000 (18:20 +0000)]
benchmark for list.sort()

26 years agoImplement round() slightly different, so that for negative ndigits no
Guido van Rossum [Sat, 9 May 1998 14:42:25 +0000 (14:42 +0000)]
Implement round() slightly different, so that for negative ndigits no
additional errors happen in the last step.  The trick is to avoid
division by 0.1**n -- multiply by 10.0**n instead.

26 years agoFix by Sean Reifschneider:
Guido van Rossum [Fri, 8 May 1998 21:52:55 +0000 (21:52 +0000)]
Fix by Sean Reifschneider:
  - When facility not specified to syslog() method, use default from openlog()
    (This is how it was claimed to work in the documentation)
  - Potential resource leak of o_ident, now cleaned up in closelog()
  - Minor comment accuracy fix.

26 years agoAdd the specific sed statement to recover the second output file to
Guido van Rossum [Fri, 8 May 1998 21:04:06 +0000 (21:04 +0000)]
Add the specific sed statement to recover the second output file to
the comments.

26 years agoMake Tim O'Malley's requested change: in FieldStorage.__init__(), when
Guido van Rossum [Fri, 8 May 1998 19:55:51 +0000 (19:55 +0000)]
Make Tim O'Malley's requested change: in FieldStorage.__init__(), when
method='GET', always get the query string from environ['QUERY_STRING']
or sys.argv[1] -- ignore an explicitly passed in fp.

26 years agoFix a comment.
Fred Drake [Fri, 8 May 1998 15:43:08 +0000 (15:43 +0000)]
Fix a comment.

Avoid extra level of recursion in the paper-*/ directories.

Added the "info" target to use the subdir.  Partparse, however, is broken
again.

26 years agoNo longer needed.
Fred Drake [Fri, 8 May 1998 15:41:23 +0000 (15:41 +0000)]
No longer needed.

26 years agoRemove unneeded line.
Fred Drake [Fri, 8 May 1998 15:40:46 +0000 (15:40 +0000)]
Remove unneeded line.

26 years agoUse \ldots, not \dots. The info process doesn't know about \dots.
Fred Drake [Fri, 8 May 1998 15:39:40 +0000 (15:39 +0000)]
Use \ldots, not \dots.  The info process doesn't know about \dots.

26 years agoAdjust to new file layout.
Fred Drake [Fri, 8 May 1998 15:37:13 +0000 (15:37 +0000)]
Adjust to new file layout.

26 years agoMove the rules to build the info files here.
Fred Drake [Fri, 8 May 1998 15:36:36 +0000 (15:36 +0000)]
Move the rules to build the info files here.

26 years agoRelocating file to Doc/info.
Fred Drake [Fri, 8 May 1998 15:35:36 +0000 (15:35 +0000)]
Relocating file to Doc/info.

26 years agoAdded URLs for zlib's home page and the Windows DLL's home page .
Guido van Rossum [Fri, 8 May 1998 14:56:29 +0000 (14:56 +0000)]
Added URLs for zlib's home page and the Windows DLL's home page .

26 years agoexec is a statement, not a function!
Guido van Rossum [Fri, 8 May 1998 13:27:38 +0000 (13:27 +0000)]
exec is a statement, not a function!

26 years agol2h target: Do the "right thing" regarding the paper-*/ subdirs as the other
Fred Drake [Fri, 8 May 1998 04:02:42 +0000 (04:02 +0000)]
l2h target:  Do the "right thing" regarding the paper-*/ subdirs as the other
"big" targets.  Fix is to set the TEXINPUTS on the command line of the
sub-make.

26 years agoSome versions of latex2html don't automatically append the .tex extension to
Fred Drake [Fri, 8 May 1998 04:00:56 +0000 (04:00 +0000)]
Some versions of latex2html don't automatically append the .tex extension to
the name of the main .tex source file if it's not in the current directory.

26 years ago$(KPSEWHICH): Use the older style of calling kpsewhich with the arg
Fred Drake [Fri, 8 May 1998 03:46:38 +0000 (03:46 +0000)]
$(KPSEWHICH):  Use the older style of calling kpsewhich with the arg
specifying *which* type of path to search.  This works for both
teTeX 0.4 and 0.9.  This is what we call portability these days!  ;-)

26 years ago/bin/sed works on both Solaris and RedHat Linux; /usr/bin/sed does not.
Fred Drake [Fri, 8 May 1998 03:42:23 +0000 (03:42 +0000)]
/bin/sed works on both Solaris and RedHat Linux; /usr/bin/sed does not.

26 years agoOops! Must have deleted a word by accident before the last check-in of this
Fred Drake [Fri, 8 May 1998 02:00:48 +0000 (02:00 +0000)]
Oops!  Must have deleted a word by accident before the last check-in of this
file; "make" (the 'all' target) became a no-op!

Now works as previously described.

26 years agoBe a little more robust handling filenames.
Fred Drake [Thu, 7 May 1998 21:20:39 +0000 (21:20 +0000)]
Be a little more robust handling filenames.

26 years agoIgnore the webchecker turd.
Fred Drake [Thu, 7 May 1998 20:13:21 +0000 (20:13 +0000)]
Ignore the webchecker turd.

26 years agoAdded the webcheck target here.
Fred Drake [Thu, 7 May 1998 20:00:59 +0000 (20:00 +0000)]
Added the webcheck target here.

26 years agoCleaned out some more cruft.
Fred Drake [Thu, 7 May 1998 19:30:16 +0000 (19:30 +0000)]
Cleaned out some more cruft.

Added some new cruft.

For some of the "big" targets, force things to happen in the "right"
subdirectory, i.e., "make" will build the DVI and PostScript files in the
paper-letter/ directory, and "make PAPER=a4" will build DVI and PostScript
files in the paper-a4/ directory.

Probably still needs some restructuring.

26 years agoSome cleanup, added clean & clobber targets.
Fred Drake [Thu, 7 May 1998 19:27:40 +0000 (19:27 +0000)]
Some cleanup, added clean & clobber targets.

26 years agoAdd support for a --pdf option to cause a PDF file to be created instead;
Fred Drake [Thu, 7 May 1998 17:28:42 +0000 (17:28 +0000)]
Add support for a --pdf option to cause a PDF file to be created instead;
most of the processing is the same and has to be done anyway.

26 years agoMarkup consistency.
Fred Drake [Thu, 7 May 1998 17:27:32 +0000 (17:27 +0000)]
Markup consistency.

Using \input instead of \include to avoid extra .aux files from being
generated.

26 years agoSmall updates.
Fred Drake [Thu, 7 May 1998 16:32:56 +0000 (16:32 +0000)]
Small updates.

26 years agoAdd check to conjugate() that there are no excess arguments.
Guido van Rossum [Thu, 7 May 1998 16:29:10 +0000 (16:29 +0000)]
Add check to conjugate() that there are no excess arguments.

26 years agoAMK's revised version of the previous patch.
Guido van Rossum [Thu, 7 May 1998 15:32:44 +0000 (15:32 +0000)]
AMK's revised version of the previous patch.

26 years agoPreliminary convenience Makefile.
Fred Drake [Thu, 7 May 1998 15:12:51 +0000 (15:12 +0000)]
Preliminary convenience Makefile.

26 years agoBetter go ahead and remove some cruftiness....
Fred Drake [Thu, 7 May 1998 15:05:56 +0000 (15:05 +0000)]
Better go ahead and remove some cruftiness....

26 years agoSupport the new directory structure.
Fred Drake [Thu, 7 May 1998 15:03:25 +0000 (15:03 +0000)]
Support the new directory structure.

Some targets may be a little raw, but the basic formatting targets are all
tested, primarily for use from the subdirs.  There are probably a few
gotchas, and the paper-*/ directories could use "helper" Makefiles.

26 years agoRelocating file to Doc/html.
Fred Drake [Thu, 7 May 1998 15:00:46 +0000 (15:00 +0000)]
Relocating file to Doc/html.

26 years agoIgnore .tar.gz files in this directory.
Fred Drake [Thu, 7 May 1998 14:56:41 +0000 (14:56 +0000)]
Ignore .tar.gz files in this directory.

26 years agoDon't ignore the html/ directory.
Fred Drake [Thu, 7 May 1998 14:54:21 +0000 (14:54 +0000)]
Don't ignore the html/ directory.

26 years agoNew script to drive HTML generation.
Fred Drake [Thu, 7 May 1998 14:53:55 +0000 (14:53 +0000)]
New script to drive HTML generation.

26 years agoIgnore subdirectories if your name is "cvs".
Fred Drake [Thu, 7 May 1998 14:51:53 +0000 (14:51 +0000)]
Ignore subdirectories if your name is "cvs".

26 years agoSub-makefile that can be used to drive the HTML conversion from this subdir.
Fred Drake [Thu, 7 May 1998 14:50:22 +0000 (14:50 +0000)]
Sub-makefile that can be used to drive the HTML conversion from this subdir.

Most of the logic is still in the primary Makefile and a new script in
Doc/tools/.

26 years agoSupport HPUX 10.20 DCE threads.
Guido van Rossum [Thu, 7 May 1998 13:28:23 +0000 (13:28 +0000)]
Support HPUX 10.20 DCE threads.

26 years agosupport hpux pthreads
Guido van Rossum [Thu, 7 May 1998 13:27:32 +0000 (13:27 +0000)]
support hpux pthreads

26 years agoGet rid of test for -lsun (very old IRIX); add test for -lm (needed on
Guido van Rossum [Thu, 7 May 1998 13:25:56 +0000 (13:25 +0000)]
Get rid of test for -lsun (very old IRIX); add test for -lm (needed on
enough platforms).

26 years agoAn applet with Popt and GUSI preferences but without alis resource
Jack Jansen [Thu, 7 May 1998 13:08:58 +0000 (13:08 +0000)]
An applet with Popt and GUSI preferences but without alis resource
didn't work, because the resource file chain was incomplete when we
tried to open the preference file. Fixed.

26 years agoRelocating file to mac.
Fred Drake [Thu, 7 May 1998 12:58:57 +0000 (12:58 +0000)]
Relocating file to mac.

26 years agoRelocating file to Doc/ext.
Fred Drake [Thu, 7 May 1998 01:50:47 +0000 (01:50 +0000)]
Relocating file to Doc/ext.

26 years agoRelocating file to Doc/lib/
Fred Drake [Thu, 7 May 1998 01:49:07 +0000 (01:49 +0000)]
Relocating file to Doc/lib/

26 years agoMore changes to support the new directory structure.
Fred Drake [Thu, 7 May 1998 01:39:06 +0000 (01:39 +0000)]
More changes to support the new directory structure.

26 years agoNew helper script to build the .dvi for a Python manual; usable for the
Fred Drake [Thu, 7 May 1998 01:38:16 +0000 (01:38 +0000)]
New helper script to build the .dvi for a Python manual; usable for the
api, ext, ref, and tut manuals.  The Library Reference requires too much
special index processing to make it beneficial to extend this to support
it.

26 years agoRelocating file to Doc/ref.
Fred Drake [Thu, 7 May 1998 01:36:12 +0000 (01:36 +0000)]
Relocating file to Doc/ref.

26 years agoRelocating file to Doc/mac.
Fred Drake [Wed, 6 May 1998 21:54:44 +0000 (21:54 +0000)]
Relocating file to Doc/mac.

26 years agoRelocating file to Doc/api.
Fred Drake [Wed, 6 May 1998 21:51:05 +0000 (21:51 +0000)]
Relocating file to Doc/api.

26 years agoRelocating file to Doc/tut.
Fred Drake [Wed, 6 May 1998 21:49:56 +0000 (21:49 +0000)]
Relocating file to Doc/tut.

26 years agoChange the set of subdirectories to ignore.
Fred Drake [Wed, 6 May 1998 21:46:08 +0000 (21:46 +0000)]
Change the set of subdirectories to ignore.

26 years agoIgnore intermediate files.
Fred Drake [Wed, 6 May 1998 21:43:40 +0000 (21:43 +0000)]
Ignore intermediate files.

26 years agoIgnore temporary files.
Fred Drake [Wed, 6 May 1998 21:43:11 +0000 (21:43 +0000)]
Ignore temporary files.

26 years agoModified version of ../texinputs/pypaper.sty that specifies A4 paper.
Fred Drake [Wed, 6 May 1998 21:40:50 +0000 (21:40 +0000)]
Modified version of ../texinputs/pypaper.sty that specifies A4 paper.

26 years agoFix a bogus \code@...@ to be \code{...}.
Fred Drake [Wed, 6 May 1998 20:59:46 +0000 (20:59 +0000)]
Fix a bogus \code@...@ to be \code{...}.

Normalize some other markup.

26 years agoRelocating file to Doc/texinputs.
Fred Drake [Wed, 6 May 1998 20:20:14 +0000 (20:20 +0000)]
Relocating file to Doc/texinputs.

26 years agoThe Python Reference Manual.
Fred Drake [Wed, 6 May 1998 19:52:49 +0000 (19:52 +0000)]
The Python Reference Manual.

26 years agoFirst cut at welcoming the Python Reference Manual back to the fold.
Fred Drake [Wed, 6 May 1998 19:51:39 +0000 (19:51 +0000)]
First cut at welcoming the Python Reference Manual back to the fold.

26 years ago\itembreak,
Fred Drake [Wed, 6 May 1998 19:36:01 +0000 (19:36 +0000)]
\itembreak,
\itemjoin,
\kwindex:  Revived definitions to support the Python Reference Manual.

26 years agoAdding Tim Peters' ndiff utility.
Guido van Rossum [Wed, 6 May 1998 17:43:30 +0000 (17:43 +0000)]
Adding Tim Peters' ndiff utility.
This is handy for comparing plain-text documentation files,
since it displays intra-line differences.

26 years agoWhen a file name is selected ("OK" button, <Return> in the filename entry),
Fred Drake [Wed, 6 May 1998 17:28:23 +0000 (17:28 +0000)]
When a file name is selected ("OK" button, <Return> in the filename entry),
and the "key" keyword parameter was used to invoke .go(), use the directory
of the selected file as the stored directory to return to when the same key
is used again.  This is useful since the user may well entry at least part
of the path in the filename box instead of doing a lot of clicking around in
the listboxes.

26 years agoAdded a PopupMenu class.
Jack Jansen [Wed, 6 May 1998 15:33:09 +0000 (15:33 +0000)]
Added a PopupMenu class.

26 years agoNew files from Thomas Gellekum
Guido van Rossum [Wed, 6 May 1998 15:14:36 +0000 (15:14 +0000)]
New files from Thomas Gellekum

26 years agoAfter variable expansion, what was formerly a single word can now
Guido van Rossum [Wed, 6 May 1998 14:38:30 +0000 (14:38 +0000)]
After variable expansion, what was formerly a single word can now
contain multiple words, all of which may have to be joined with the
path of the extension directory.
(Sjoerd)

26 years agoRemove Emacs cruft at end.
Guido van Rossum [Wed, 6 May 1998 14:37:41 +0000 (14:37 +0000)]
Remove Emacs cruft at end.

26 years agoAdded table of WSA error codes.
Guido van Rossum [Wed, 6 May 1998 13:48:04 +0000 (13:48 +0000)]
Added table of WSA error codes.

26 years agoVersion for 1.5.1
Jack Jansen [Wed, 6 May 1998 13:25:42 +0000 (13:25 +0000)]
Version for 1.5.1

26 years agoFinal projects for 1.5.1
Jack Jansen [Wed, 6 May 1998 13:25:28 +0000 (13:25 +0000)]
Final projects for 1.5.1

26 years agoMods by Just
Jack Jansen [Wed, 6 May 1998 13:24:38 +0000 (13:24 +0000)]
Mods by Just

26 years agoFix typo in example found by Anthony Starks <anthony_starks@merck.com>,
Fred Drake [Wed, 6 May 1998 12:42:37 +0000 (12:42 +0000)]
Fix typo in example found by Anthony Starks <anthony_starks@merck.com>,
reported to me by Piers Lauder <piers@cs.su.oz.au>.

26 years agoUgly band-aid to work around a bug in Linux ftell().
Guido van Rossum [Tue, 5 May 1998 22:21:35 +0000 (22:21 +0000)]
Ugly band-aid to work around a bug in Linux ftell().

26 years agoAvoid using cut; sed can do this just as well...
Guido van Rossum [Tue, 5 May 1998 20:40:18 +0000 (20:40 +0000)]
Avoid using cut; sed can do this just as well...

26 years agoAvoid using dirname; sed can do this just as well...
Guido van Rossum [Tue, 5 May 1998 20:39:58 +0000 (20:39 +0000)]
Avoid using dirname; sed can do this just as well...

26 years agoPatches to make the proxy code work again. (Why does that always break
Guido van Rossum [Tue, 5 May 1998 13:58:13 +0000 (13:58 +0000)]
Patches to make the proxy code work again.  (Why does that always break
as soon as I change things even just a little bit? :-)  Even works
when accessing a password-protected page through the proxy.  Prompted
by complaints from, and correct operation verified by, Nigel O'Brian.

26 years agoTake out the check for AUTH-LOGIN or AUTH=LOGIN in login() -- some
Guido van Rossum [Tue, 5 May 1998 03:08:46 +0000 (03:08 +0000)]
Take out the check for AUTH-LOGIN or AUTH=LOGIN in login() -- some
servers support LOGIN but don't advertise it.  If it's not supported
the protocol will respond NO.  Approved by Piers Lauder.

26 years agoREMOVE samefile(), sameopenfile(), samestat() -- these cannot be made
Guido van Rossum [Sat, 2 May 1998 00:47:09 +0000 (00:47 +0000)]
REMOVE samefile(), sameopenfile(), samestat() -- these cannot be made
to work reliably (at least I wouldn't know how).

26 years agoChange the names of all methods in the Wm class: they are now
Guido van Rossum [Fri, 1 May 1998 19:48:20 +0000 (19:48 +0000)]
Change the names of all methods in the Wm class: they are now
wm_title(), etc.  The old names (title() etc.) are still defined as
aliases.

This brings all methods up to use the same naming convention: whether
the Tcl syntax is

   .window.path.name command subcommand [options]

or

   command subcommand .window.path.name [optins]

the Python equivalent is always

   windowobject.command_subcommand(options)

26 years agoUse (void) to throw away a function result, not (void *) !
Guido van Rossum [Fri, 1 May 1998 18:58:59 +0000 (18:58 +0000)]
Use (void) to throw away a function result, not (void *) !

26 years agoAnother optimization, probably of negligeable effect: instead of
Guido van Rossum [Thu, 30 Apr 1998 17:50:36 +0000 (17:50 +0000)]
Another optimization, probably of negligeable effect: instead of
calling self.tk.getint() and self.tk.getdouble(), call the globals
getint() and getdouble(), which in turn are just names for the Python
builtins int() and double().  (Making them globals actually save a
dict lookup compared to using the built-in.)  The corresponding
methods of class Misc have been changed similarly.  (Note that
getboolean() hasn't been changed because there's no Python
equivalent.)

The use of int() and float() has another advantage: if/when Tcl calls
can actually return Tcl objects with other types than string, use of
int() and float() is essential.

26 years agoAdd some help for AIX. (Konrad Hinsen)
Guido van Rossum [Thu, 30 Apr 1998 13:34:12 +0000 (13:34 +0000)]
Add some help for AIX.  (Konrad Hinsen)

26 years agoIn _bind(), found a way to test for break without a temp variable.
Guido van Rossum [Wed, 29 Apr 1998 22:16:57 +0000 (22:16 +0000)]
In _bind(), found a way to test for break without a temp variable.

26 years agoSave a tiny bit of time: self.tk.call takes a tuple argument so it's
Guido van Rossum [Wed, 29 Apr 1998 21:57:08 +0000 (21:57 +0000)]
Save a tiny bit of time: self.tk.call takes a tuple argument so it's
not needed to say apply(self.tk.call, t); self.tk.call(t) has the same
effect.  This cuts down tremendously on the number of apply() calls
made.  No measurable effect, but at the very least it saves the lookup
of apply() in the globals!

26 years agoImport MacOS at the top instead of insize Tk.__init__() -- the latter
Guido van Rossum [Wed, 29 Apr 1998 21:43:36 +0000 (21:43 +0000)]
Import MacOS at the top instead of insize Tk.__init__() -- the latter
repeats the I/O for the failed import on each interpreter creation.

26 years agocleanup(): Remove *all* the temp files related to index generation!
Fred Drake [Wed, 29 Apr 1998 21:28:25 +0000 (21:28 +0000)]
cleanup():  Remove *all* the temp files related to index generation!

26 years agoWhen following symlinks to the real executable, use a loop so a
Guido van Rossum [Wed, 29 Apr 1998 21:07:06 +0000 (21:07 +0000)]
When following symlinks to the real executable, use a loop so a
symlink to a symlink can work.
(Jack)

26 years agoWork around lack of support for \if... in latex2html.
Fred Drake [Wed, 29 Apr 1998 17:56:44 +0000 (17:56 +0000)]
Work around lack of support for \if... in latex2html.

26 years agoSet $TEXINPUTS='' to make l2h pick up the right thing from the environment.
Fred Drake [Wed, 29 Apr 1998 16:58:13 +0000 (16:58 +0000)]
Set $TEXINPUTS='' to make l2h pick up the right thing from the environment.