]> granicus.if.org Git - python/log
python
27 years agoReindented according to new standard, without tabs.
Guido van Rossum [Fri, 5 Dec 1997 21:24:30 +0000 (21:24 +0000)]
Reindented according to new standard, without tabs.
Also added one more os2 specific piece of code, by Jeff Rush.

27 years agoospath.py has been obsolete for long enough.
Guido van Rossum [Fri, 5 Dec 1997 19:49:14 +0000 (19:49 +0000)]
ospath.py has been obsolete for long enough.

27 years agoWhen instantiating a class with no arguments and where the class does
Guido van Rossum [Fri, 5 Dec 1997 19:42:42 +0000 (19:42 +0000)]
When instantiating a class with no arguments and where the class does
not define __getinitargs__, bypass the __init__ constructor
completely.  This uses the trick of instantiating an empty dummy class
and then changing inst.__class__ to the real class.  This is done in
two places: once for the INST and once for the OBJ format code.

Also replaced the much outdated long doc string with a short summary
of the module; the information of that doc string is already
incorporated in the library reference manual.

27 years agoAdded doc strings and reindented according to new standard, without tabs.
Guido van Rossum [Fri, 5 Dec 1997 19:04:51 +0000 (19:04 +0000)]
Added doc strings and reindented according to new standard, without tabs.
(Like ntpath.py, this was contributed by "Charles G. Waldman" <cgw@pgt.com>)

27 years agoAdded doc strings and reindented according to new standard, without tabs.
Guido van Rossum [Fri, 5 Dec 1997 19:03:01 +0000 (19:03 +0000)]
Added doc strings and reindented according to new standard, without tabs.

27 years agoFix the exclusion of "config" in the methods copied from Pack to also
Guido van Rossum [Fri, 5 Dec 1997 17:05:04 +0000 (17:05 +0000)]
Fix the exclusion of "config" in the methods copied from Pack to also
exclude "configure".

27 years agoForgot to use &lt;/&gt; for some example output.
Guido van Rossum [Fri, 5 Dec 1997 16:18:45 +0000 (16:18 +0000)]
Forgot to use &lt;/&gt; for some example output.

27 years agoUse registry key ProgramFilesDir as default MAINDIR
Guido van Rossum [Fri, 5 Dec 1997 06:32:47 +0000 (06:32 +0000)]
Use registry key ProgramFilesDir as default MAINDIR

27 years agoAdd a few more PyErr_ symbols
Guido van Rossum [Fri, 5 Dec 1997 06:32:13 +0000 (06:32 +0000)]
Add a few more PyErr_ symbols

27 years agoAdd pretty icon to python.exe
Guido van Rossum [Fri, 5 Dec 1997 06:31:40 +0000 (06:31 +0000)]
Add pretty icon to python.exe

27 years agoOnly parsing requires Python 1.5
Barry Warsaw [Thu, 4 Dec 1997 19:44:30 +0000 (19:44 +0000)]
Only parsing requires Python 1.5

27 years agoUpdated world codes with latest iso3166 codes
Barry Warsaw [Thu, 4 Dec 1997 19:42:36 +0000 (19:42 +0000)]
Updated world codes with latest iso3166 codes

27 years agoAdded parsing of ISO 3166 files
Barry Warsaw [Thu, 4 Dec 1997 19:35:25 +0000 (19:35 +0000)]
Added parsing of ISO 3166 files

27 years agoMake examples consistently use 4-space indentation.
Fred Drake [Thu, 4 Dec 1997 15:43:15 +0000 (15:43 +0000)]
Make examples consistently use 4-space indentation.

Use \file{} for file names.

Prefer \code{blat} and \emph{blat} to {\tt blat} and {\em blat}; this matches
current style in the Library Reference a bit better.

Made the example startup banner current.  The version number should be
bumped before the next release.

27 years agoFixed unresolved reference problem; this module wasn't \label{}ed.
Fred Drake [Thu, 4 Dec 1997 14:36:52 +0000 (14:36 +0000)]
Fixed unresolved reference problem; this module wasn't \label{}ed.

Remove spurious underscore following book title.  Added specific reference to
a Win32 networking book.

Changed \indexsubitem from (in module SocketServer) to (SocketServer protocol),
since it's talking about a protocol supported by a collection of classes.

27 years agoRemoved unnecessary escaping.
Fred Drake [Thu, 4 Dec 1997 14:20:59 +0000 (14:20 +0000)]
Removed unnecessary escaping.

27 years agoArg; more nits, but I may as well finish the job.
Fred Drake [Thu, 4 Dec 1997 04:57:56 +0000 (04:57 +0000)]
Arg; more nits, but I may as well finish the job.

Removed the large comment remaining from the template documentation
section; the template tells us to remove these once they're not needed.

Remove some trailing whitespace from VM instruction pseudo-code.

27 years agoFixed BINARY_RSHIFT documentation to indicate a right shift instead of a left
Fred Drake [Thu, 4 Dec 1997 04:51:12 +0000 (04:51 +0000)]
Fixed BINARY_RSHIFT documentation to indicate a right shift instead of a left
shift.

Adjust whitespace around "=" in VM machine descriptions to be consistent
throughout the document.

27 years agoChanged {\sc gdbm} to \code{gdbm} everywhere.
Fred Drake [Thu, 4 Dec 1997 04:45:28 +0000 (04:45 +0000)]
Changed {\sc gdbm} to \code{gdbm} everywhere.

Fixed \indexsubitem to gdbm instead of dbm.

Changed dbm to \code{dbm} everywhere.

27 years agoMerge between my version and Jim Fulton's version; removed RCS keywords
Guido van Rossum [Thu, 4 Dec 1997 01:14:08 +0000 (01:14 +0000)]
Merge between my version and Jim Fulton's version; removed RCS keywords
but otherwise unchanged.

27 years agoNew versions of cPickle and cStringIO, from Jim Fulton's cPickle 1.0b1
Guido van Rossum [Thu, 4 Dec 1997 01:13:01 +0000 (01:13 +0000)]
New versions of cPickle and cStringIO, from Jim Fulton's cPickle 1.0b1
distribution.

27 years agoWhen --with-thread(s) is specified, the thread module is now automatically
Guido van Rossum [Thu, 4 Dec 1997 00:51:42 +0000 (00:51 +0000)]
When --with-thread(s) is specified, the thread module is now automatically
enabled.  This is done through a substitution in Modules/Setup.thread(.in).
Bill Janssen will be happy.  The original idea was by Lele Gaifax (though
I changed the implementation to use a separate file).

27 years agoMoved the thread module to its own Setup.thread(.in) file,
Guido van Rossum [Thu, 4 Dec 1997 00:48:27 +0000 (00:48 +0000)]
Moved the thread module to its own Setup.thread(.in) file,
which is edited by the config.status script depending on whether
--with-thread is specified or not.  Also needs changes to configure(.in).

27 years agoPatch my Marc Lemburg to fix urljoin("/a", "..") and urljoin("/a", "..#1").
Guido van Rossum [Wed, 3 Dec 1997 22:38:56 +0000 (22:38 +0000)]
Patch my Marc Lemburg to fix urljoin("/a", "..") and urljoin("/a", "..#1").

27 years agoRefinement of home for NT, courtesy Jeff Bauer.
Guido van Rossum [Wed, 3 Dec 1997 22:34:03 +0000 (22:34 +0000)]
Refinement of home for NT, courtesy Jeff Bauer.

27 years agoAdded handler for opcodedesc environment.
Fred Drake [Wed, 3 Dec 1997 19:45:08 +0000 (19:45 +0000)]
Added handler for opcodedesc environment.

Fixed weird index behavior.

27 years agomake_str_index_entry(): New function. Similar to make_index_entry(), but
Fred Drake [Wed, 3 Dec 1997 19:44:27 +0000 (19:44 +0000)]
make_str_index_entry():  New function.  Similar to make_index_entry(), but
includes the string in the returned value instead of the dummy
filler character.

add_idx():  Override the latex2html function of the same name; this gets
the anchor properly embedded in the <dt> element, so the index
works in Grail too.

27 years agoProvide default for blocksize on retrbinary (Skip Montanaro).
Guido van Rossum [Wed, 3 Dec 1997 19:34:14 +0000 (19:34 +0000)]
Provide default for blocksize on retrbinary (Skip Montanaro).

27 years agoMore generated files for netbsd 1.x, by Anders Andersen.
Guido van Rossum [Wed, 3 Dec 1997 18:44:57 +0000 (18:44 +0000)]
More generated files for netbsd 1.x, by Anders Andersen.

27 years ago(py-jump-on-exception): Variable which if t, means that if an
Barry Warsaw [Wed, 3 Dec 1997 05:25:48 +0000 (05:25 +0000)]
(py-jump-on-exception): Variable which if t, means that if an
exception occurs in a synchronous Python subprocess, the mode will
automatically jump to the innermost exception.

27 years agoRemoved redundant eval-when-compile.
Barry Warsaw [Wed, 3 Dec 1997 05:03:44 +0000 (05:03 +0000)]
Removed redundant eval-when-compile.

(python-mode): Conditionalize imenu initializations to when we can
safely require imenu.  Under Emacs this should prevent python-mode
from hosing the global value of imenu-create-index-function and
messing things up for all other modes.  Problem identified by
Christian Egli.

(py-describe-mode): py-delete-char => py-electric-backspace.  Given by
Christian Egli.

27 years agoThe biggie: changed the funcdesc environments used for opcode descriptions
Fred Drake [Wed, 3 Dec 1997 04:06:57 +0000 (04:06 +0000)]
The biggie:  changed the funcdesc environments used for opcode descriptions
to use the opcodedesc environment.

Changed a \code{} to a \file{} near the start where a file is referenced.

Fixed a typo:  "on" --> "one" in ROT_THREE description.

Wherever opcodes were referenced by name, use \code{OPCODE_NAME}; usage was
inconsistent.  Ideally, another macro would be defined since these don't
represent code a programmer would type, but that's minor even for me.  It'll
probably get converted automatically in the SGML conversion project.  Whether
that matters or not isn't relevant at this point.

27 years agoAdded environment for defining PyVM instructions. This is only used in
Fred Drake [Wed, 3 Dec 1997 03:42:39 +0000 (03:42 +0000)]
Added environment for defining PyVM instructions.  This is only used in
the libdis.tex file I'm about to check in.

I'm not sure this is really an optimal solution yet, but it may be the best
alternative.  It avoids describing the instructions as either data items or
functions.

This change was discussed with Guido.  (Guido:  Take a look at the LaTeX
output for this; if this is reasonable I'll go ahead and update the perl
code in myformat.perl to match.)

27 years agoChange the default repr() and str() of class instance objects to look
Guido van Rossum [Wed, 3 Dec 1997 00:06:02 +0000 (00:06 +0000)]
Change the default repr() and str() of class instance objects to look
like <modulename.classname instance at ...> (to match the repr() of
class objects.

27 years ago(python-mode): Patch to make font-lock work automatically for Emacs.
Barry Warsaw [Tue, 2 Dec 1997 22:01:04 +0000 (22:01 +0000)]
(python-mode): Patch to make font-lock work automatically for Emacs.
Unnecessary for XEmacs, but oh well...

27 years agoTest for an up-to-date Custom library when byte-compiling, and issue
Barry Warsaw [Tue, 2 Dec 1997 21:51:57 +0000 (21:51 +0000)]
Test for an up-to-date Custom library when byte-compiling, and issue
an informative message when one cannot be found, as is the case with a
vanilla Emacs 19.34 (and NTEmacs 19.34).

27 years agoAdd the flag RTLD_GLOBAL to the dlopen() options.
Guido van Rossum [Tue, 2 Dec 1997 20:43:18 +0000 (20:43 +0000)]
Add the flag RTLD_GLOBAL to the dlopen() options.
This exports symbols defined by the loaded extension to other
extensions (loaded later).

(I'm not quite sure about this but suppose it can't hurt...)

27 years agoMake stdin unbuffered too, when PYTHONUNBUFFERED is specified.
Guido van Rossum [Tue, 2 Dec 1997 20:41:39 +0000 (20:41 +0000)]
Make stdin unbuffered too, when PYTHONUNBUFFERED is specified.

27 years agoPatches by Fred Lundh to make it compile better with K&R compilers.
Guido van Rossum [Tue, 2 Dec 1997 20:40:28 +0000 (20:40 +0000)]
Patches by Fred Lundh to make it compile better with K&R compilers.
(Should really let AMK do this, but don't know when he'll give me a
new version.)

27 years agoSmall bugfixes for broken old style use of the syntax table. AMK, of
Guido van Rossum [Tue, 2 Dec 1997 20:39:23 +0000 (20:39 +0000)]
Small bugfixes for broken old style use of the syntax table.  AMK, of
course.

27 years agoYes, Virginia, Tix does have a Tix_SafeInit() function.
Guido van Rossum [Tue, 2 Dec 1997 20:38:38 +0000 (20:38 +0000)]
Yes, Virginia, Tix does have a Tix_SafeInit() function.

27 years agoUnderstand -Xlinker option.
Guido van Rossum [Tue, 2 Dec 1997 20:38:11 +0000 (20:38 +0000)]
Understand -Xlinker option.

27 years agoLeft-aligned preprocessor directives and changed C++ comments to C
Guido van Rossum [Tue, 2 Dec 1997 20:37:32 +0000 (20:37 +0000)]
Left-aligned preprocessor directives and changed C++ comments to C
comments.

27 years agoPatch for QNX, by Chris Herborth. Also left-aligned preprocessor
Guido van Rossum [Tue, 2 Dec 1997 20:36:02 +0000 (20:36 +0000)]
Patch for QNX, by Chris Herborth.  Also left-aligned preprocessor
directives and changed C++ comments to C comments.

27 years agoPatch for QNX, by Chris Herborth.
Guido van Rossum [Tue, 2 Dec 1997 20:34:19 +0000 (20:34 +0000)]
Patch for QNX, by Chris Herborth.

27 years agoSupport for netbsd1 and freebsd3, after suggestions by Anders Andersen
Guido van Rossum [Tue, 2 Dec 1997 20:30:29 +0000 (20:30 +0000)]
Support for netbsd1 and freebsd3, after suggestions by Anders Andersen
and Jacques Vidrine.

27 years agoWhen a port is specified in an ftp:// URL, must convert it to a number!
Guido van Rossum [Tue, 2 Dec 1997 20:26:21 +0000 (20:26 +0000)]
When a port is specified in an ftp:// URL, must convert it to a number!

27 years agoTypo in example (missing '=') discovered by Sandy Langbart.
Guido van Rossum [Tue, 2 Dec 1997 20:08:06 +0000 (20:08 +0000)]
Typo in example (missing '=') discovered by Sandy Langbart.

27 years agoSupport for the "event" command, new in Tk 4.2.
Guido van Rossum [Tue, 2 Dec 1997 19:51:39 +0000 (19:51 +0000)]
Support for the "event" command, new in Tk 4.2.
By Case Roole.

27 years agoAdd attributions to Jeffrey Ollie and Tim Peters for re.py.
Guido van Rossum [Tue, 2 Dec 1997 19:44:54 +0000 (19:44 +0000)]
Add attributions to Jeffrey Ollie and Tim Peters for re.py.

27 years agoAdd attributions to Jeffrey Ollie and Tim Peters for re.py; new QNX
Guido van Rossum [Tue, 2 Dec 1997 19:44:31 +0000 (19:44 +0000)]
Add attributions to Jeffrey Ollie and Tim Peters for re.py; new QNX
section from Chris Herborth.

27 years agoChanges for FreeBSD and NetBSD: NetBSD does shared libs just like FreeBSD
Guido van Rossum [Tue, 2 Dec 1997 19:28:29 +0000 (19:28 +0000)]
Changes for FreeBSD and NetBSD: NetBSD does shared libs just like FreeBSD
(big surprise), and FreeBSD has pthread support in -lc_r -- maybe NetBSD
has too.

27 years agoSkip directories when installing library files; this avoids problems
Guido van Rossum [Tue, 2 Dec 1997 19:18:27 +0000 (19:18 +0000)]
Skip directories when installing library files; this avoids problems
when test/output is found (/usr/bin/install chokes on this; no idea
why install-sh doesn't).

27 years agoDocument new behavior of isinstance() when using a type object.
Guido van Rossum [Tue, 2 Dec 1997 19:15:01 +0000 (19:15 +0000)]
Document new behavior of isinstance() when using a type object.

27 years agoSupport type objects in isinstance().
Guido van Rossum [Tue, 2 Dec 1997 19:11:45 +0000 (19:11 +0000)]
Support type objects in isinstance().

E.g. isinstance('',types.StringType) will return true now instead of
raising a TypeError exception.  This is for JPython compatibility.

27 years agoMake modes for installed files and directories variables; change the
Guido van Rossum [Tue, 2 Dec 1997 17:52:37 +0000 (17:52 +0000)]
Make modes for installed files and directories variables; change the
default for directories (not for files!) to be group writable.

27 years agoSjoerd sez: global substitute \240 with \177.
Guido van Rossum [Tue, 2 Dec 1997 17:45:39 +0000 (17:45 +0000)]
Sjoerd sez: global substitute \240 with \177.

27 years agoChanged the occurrence of *shared* in the example so people won't
Guido van Rossum [Tue, 2 Dec 1997 16:46:39 +0000 (16:46 +0000)]
Changed the occurrence of *shared* in the example so people won't
accidentally uncomment it...

27 years agoAdded stropts.h to the list of files automatically regenerated.
Guido van Rossum [Tue, 2 Dec 1997 14:37:20 +0000 (14:37 +0000)]
Added stropts.h to the list of files automatically regenerated.

27 years agoGenerated from Solaris 2.6's /usr/include/sys/stropts.h via
Barry Warsaw [Tue, 2 Dec 1997 04:49:09 +0000 (04:49 +0000)]
Generated from Solaris 2.6's /usr/include/sys/stropts.h via
Tools/scripts/h2py.py.  This file contains many useful streamio(7)
constants, especially the ones that support passing open file
descriptors through a pipe: I_RECVFD and I_SENDFD.

27 years ago*** empty log message ***
Guido van Rossum [Tue, 2 Dec 1997 03:42:17 +0000 (03:42 +0000)]
*** empty log message ***

27 years agoComment out crypt by default; it's not used very much and messes up
Guido van Rossum [Tue, 2 Dec 1997 03:23:01 +0000 (03:23 +0000)]
Comment out crypt by default; it's not used very much and messes up
the default build on Linux (because it requires -lcrypt which isn't
availabel everywhere).

Some improvements to the _tkinter build line suggested by Case Roole.

27 years agoAdded Pareto and Weibull distributions, courtesy Jeremy Hylton.
Guido van Rossum [Tue, 2 Dec 1997 02:47:39 +0000 (02:47 +0000)]
Added Pareto and Weibull distributions, courtesy Jeremy Hylton.

27 years agoAdded strop.split tests when sep is None.
Barry Warsaw [Tue, 2 Dec 1997 00:30:04 +0000 (00:30 +0000)]
Added strop.split tests when sep is None.

27 years agosplit_whitespace(): Make sure delimiter is stripped from the beginning
Barry Warsaw [Tue, 2 Dec 1997 00:29:30 +0000 (00:29 +0000)]
split_whitespace(): Make sure delimiter is stripped from the beginning
of the remainder item (last item in list) when maxsplit is < the
number of occurrences.

27 years agoRequire 'cl when compiling so that the push macro gets picked in Emacs
Barry Warsaw [Mon, 1 Dec 1997 20:03:12 +0000 (20:03 +0000)]
Require 'cl when compiling so that the push macro gets picked in Emacs
19.34.

27 years agoUse $LOGNAME instead of $USER to get the current user -- it seems to
Guido van Rossum [Mon, 1 Dec 1997 18:50:09 +0000 (18:50 +0000)]
Use $LOGNAME instead of $USER to get the current user -- it seems to
be the state of the art.

27 years agoRemoved Queue.py. It's documented now.
Barry Warsaw [Mon, 1 Dec 1997 16:35:54 +0000 (16:35 +0000)]
Removed Queue.py.  It's documented now.

27 years agoInitialize __version__ to the correct version string regardless of
Guido van Rossum [Mon, 1 Dec 1997 15:57:40 +0000 (15:57 +0000)]
Initialize __version__ to the correct version string regardless of
what RCS checkout options are used.  Problem first diagnosed by Marc
Lemburg.

27 years agoIn string.split(), honor maxsplit (if > 0).
Guido van Rossum [Mon, 1 Dec 1997 15:25:19 +0000 (15:25 +0000)]
In string.split(), honor maxsplit (if > 0).

In string.splitfields(), ignore maxsplit if <= 0, rather than ignoring
maxsplit=0 but effectively treating negative numbers the same as
maxsplit=1.  Also made the test for maxsplit slightly more efficient
(set it to the length of the string when <= 0 so the test for its
presence can be omitted from the loop).

27 years ago_Environ(): Added __getinitargs__() method so os.environ.copy() works,
Barry Warsaw [Mon, 1 Dec 1997 04:30:19 +0000 (04:30 +0000)]
_Environ(): Added __getinitargs__() method so os.environ.copy() works,
as does unpickling, as in: pickle.loads(pickle.dumps(os.environ)).

Hope this is right!  Don't shoot me Guido. :-)

27 years agoAdded \indexsubitem definition; functions were previously indexed for the
Fred Drake [Sun, 30 Nov 1997 05:53:22 +0000 (05:53 +0000)]
Added \indexsubitem definition; functions were previously indexed for the
wrong module.

27 years agoAdded \indexsubitem definition. Non-optimal, but two modules are sharing
Fred Drake [Sun, 30 Nov 1997 05:38:44 +0000 (05:38 +0000)]
Added \indexsubitem definition.  Non-optimal, but two modules are sharing
the documentation here.

27 years agoAdded \indexsubitem definition; functions were previously indexed for the
Fred Drake [Sun, 30 Nov 1997 05:27:26 +0000 (05:27 +0000)]
Added \indexsubitem definition; functions were previously indexed for the
wrong module.

27 years agoUpdated \indexsubitem; functions had been indexed for the wrong module.
Fred Drake [Sun, 30 Nov 1997 05:23:47 +0000 (05:23 +0000)]
Updated \indexsubitem; functions had been indexed for the wrong module.

27 years agoAdded tests of strop.replace()
Barry Warsaw [Sat, 29 Nov 1997 00:25:30 +0000 (00:25 +0000)]
Added tests of strop.replace()

27 years agomymemreplace(), strop_replace(): Add support for optional 4th argument
Barry Warsaw [Sat, 29 Nov 1997 00:10:07 +0000 (00:10 +0000)]
mymemreplace(), strop_replace(): Add support for optional 4th argument
maxsplit which is implemented in string.py but wasn't here.  The
reference manual doesn't define what happens when maxsplit is negative
or larger than the number of occurrences, but in either case, I
implemented this as all get replaced.  Default value is zero which
replaces all occurrences.

27 years ago(py-traceback-line-re): Relaxation of regexp to catch SyntaxErrors.
Barry Warsaw [Thu, 27 Nov 1997 20:08:14 +0000 (20:08 +0000)]
(py-traceback-line-re): Relaxation of regexp to catch SyntaxErrors.
Harri Pasanen.

27 years agoSlip of the keyboard (f__ should be __). Dunno why I had a totally
Guido van Rossum [Thu, 27 Nov 1997 01:39:15 +0000 (01:39 +0000)]
Slip of the keyboard (f__ should be __).  Dunno why I had a totally
messed up (but not checked in) version in my work files and didn't
notice before releasing 1.5 -- at least the distributed latex file
doesn't have the bogus warning about changed __init__ semantics.

27 years agoThis commit was manufactured by cvs2svn to create tag 'r15b1'. v1.5b1
cvs2svn [Wed, 26 Nov 1997 21:20:51 +0000 (21:20 +0000)]
This commit was manufactured by cvs2svn to create tag 'r15b1'.

27 years agoDumb typo.
Guido van Rossum [Wed, 26 Nov 1997 21:20:51 +0000 (21:20 +0000)]
Dumb typo.

27 years ago(py-process-filter): py-delete-file-silently is obsolete. Use a
Barry Warsaw [Wed, 26 Nov 1997 21:00:36 +0000 (21:00 +0000)]
(py-process-filter): py-delete-file-silently is obsolete.  Use a
py-safe wrapped delete-file call instead.

27 years ago(py-compute-indentation): Check for multiline stringness and
Barry Warsaw [Wed, 26 Nov 1997 20:58:48 +0000 (20:58 +0000)]
(py-compute-indentation): Check for multiline stringness and
commentness so that hitting TAB in the middle of a comment will still
indent the line.

27 years ago(py-mode-map): Bind py-mark-def-or-class to C-M-h with a different
Barry Warsaw [Wed, 26 Nov 1997 20:30:33 +0000 (20:30 +0000)]
(py-mode-map): Bind py-mark-def-or-class to C-M-h with a different
spelling so that it doesn't clobber the standard M-BS binding.  This
should be portable between X/Emacsen.

27 years agoReordered and slightly edited the highlights of changes.
Guido van Rossum [Wed, 26 Nov 1997 17:37:31 +0000 (17:37 +0000)]
Reordered and slightly edited the highlights of changes.

27 years agoRevamped README for release of 1.5b1.
Guido van Rossum [Wed, 26 Nov 1997 17:07:02 +0000 (17:07 +0000)]
Revamped README for release of 1.5b1.

27 years agoAdded list of what's new in 1.5b1. Changed intro and some section titles.
Guido van Rossum [Wed, 26 Nov 1997 16:36:28 +0000 (16:36 +0000)]
Added list of what's new in 1.5b1.  Changed intro and some section titles.

27 years agoFour more valuable contributors...
Guido van Rossum [Wed, 26 Nov 1997 16:35:55 +0000 (16:35 +0000)]
Four more valuable contributors...

27 years agoThe usual
Guido van Rossum [Wed, 26 Nov 1997 15:44:34 +0000 (15:44 +0000)]
The usual

27 years agoThe dependency of tarhtml on l2h was a bad idea.
Guido van Rossum [Wed, 26 Nov 1997 15:31:32 +0000 (15:31 +0000)]
The dependency of tarhtml on l2h was a bad idea.

27 years ago(python-mode): Make imenu-create-index-function buffer local.
Barry Warsaw [Wed, 26 Nov 1997 06:14:40 +0000 (06:14 +0000)]
(python-mode): Make imenu-create-index-function buffer local.

(imenu-example--create-python-index-engine): Use
buffer-substring-no-properties.  Also, don't use
imenu-create-submenu-name.  Apparently it is obsolete.

These Imenu patches were given by Christian Egli
<christian.egli@stest.ch>

27 years ago(py-mark-def-or-class): Added an exchange-point-and-mark and a
Barry Warsaw [Wed, 26 Nov 1997 06:00:26 +0000 (06:00 +0000)]
(py-mark-def-or-class): Added an exchange-point-and-mark and a
py-keep-region-active so that the marked def/class gets the
zmacs-region or transient-mark region highlighted.  Also point should
be left at the end of the marked region.

(py-mode-map): Moved py-mark-def-or-class to M-C-h to conform to Emacs
major mode standards.

27 years ago(python-mode): Patch to fix Imenu support under Emacs, given by
Barry Warsaw [Wed, 26 Nov 1997 05:40:58 +0000 (05:40 +0000)]
(python-mode): Patch to fix Imenu support under Emacs, given by
Torsten Hilbrich <Torsten.Hilbrich@bln.de>.

27 years ago(py-kill-emacs-hook): Simplification.
Barry Warsaw [Wed, 26 Nov 1997 05:27:45 +0000 (05:27 +0000)]
(py-kill-emacs-hook): Simplification.

27 years agoIcons for Windows installer.
Guido van Rossum [Wed, 26 Nov 1997 05:14:14 +0000 (05:14 +0000)]
Icons for Windows installer.

27 years agoAdded the HTML files.
Guido van Rossum [Wed, 26 Nov 1997 04:55:32 +0000 (04:55 +0000)]
Added the HTML files.

27 years agoAdded CRLF line endings since this is for NOTEPAD.
Guido van Rossum [Wed, 26 Nov 1997 04:48:23 +0000 (04:48 +0000)]
Added CRLF line endings since this is for NOTEPAD.

27 years agoAdded comment about where to find details on python-mode.el, pointing
Barry Warsaw [Wed, 26 Nov 1997 01:04:44 +0000 (01:04 +0000)]
Added comment about where to find details on python-mode.el, pointing
to the Web site.

(py-defun-start-re, py-class-start-re): Changed to defconst.

(py-traceback-line-re): Regular expression describing what traceback
lines look like.

(py-point): New defsubst copied from CC Mode.

(py-highlight-line): Function which does the work of making a
traceback line mouseable.  This only works on XEmacs.  Someone familar
with Emacs text properties and such will have to do that port.

(py-mode-map): Added C-c- bound to py-up-exception and C-c= bound to
py-down-exception.  Also, more concise form for mapcar.

(py-mode-output-map): New keymap for the *Python Output* buffer which
only has keybindings for py-mouseto-exception and py-goto-exception.
All other self-insert-command's are bound to beep.  This is actually
bogus because the buffer should really be made read-only and the
functions that insert in that buffer should bind inhibit-read-only.
Also, this map should be bound to highlighted extents in a *Python*
shell buffer, but this stuff hasn't been migrated into there.

(py-postprocess-output-buffer): New function which extentifies the
*Python Output* buffer.  The bogosities are that this only runs when
the synchronous process in the buffer is finished (so it doesn't work
for async procs), and it should also be merged into py-process-filter
so the *Python* shell gets mouseable too.

(py-shell): Added C-c- and C-c= to the comint buffer's keymap.  The
bogosity is that py-goto-exception should also be bound, but it cannot
be bound to C-cC-c (since that interferes with
comint-interrupt-subjob's typical binding).  Also, traceback lines
aren't mouseable in this buffer.

(py-execute-region): Support for traceback jumping.  This really is
quite a kludge, but necessary based on the way all this stuff works.
There's bound to be broken interactions here.

(py-jump-to-exception, py-mouseto-exception, py-goto-exception,
py-find-next-exception, py-down-exception, py-up-exception): All new
commands and functions to implement traceback jumping.

(py-compute-indentation): Hope this change doesn't get lost in all the
noise above!!!!  This fixes broken non-indentation of a line when TAB
is hit inside a string that isn't a multi-line string.

27 years agoDocumented brand new behavior of sys.ps1 and sys.ps2 (str() is applied
Guido van Rossum [Tue, 25 Nov 1997 21:12:27 +0000 (21:12 +0000)]
Documented brand new behavior of sys.ps1 and sys.ps2 (str() is applied
to get the actual prompt).

27 years agoApply str() to sys.ps1 or sys.ps2 before using them as a prompt, so
Guido van Rossum [Tue, 25 Nov 1997 20:58:13 +0000 (20:58 +0000)]
Apply str() to sys.ps1 or sys.ps2 before using them as a prompt, so
you can assign an object whose str() evaluates to the current
directory (or whatever).