]> granicus.if.org Git - python/log
python
27 years agoPy_Exit(status) calls exit(status), not exit(0).
Fred Drake [Thu, 12 Feb 1998 20:51:02 +0000 (20:51 +0000)]
Py_Exit(status) calls exit(status), not exit(0).

27 years agofixed initial color
Barry Warsaw [Thu, 12 Feb 1998 19:53:01 +0000 (19:53 +0000)]
fixed initial color

27 years agotypo
Barry Warsaw [Thu, 12 Feb 1998 19:52:46 +0000 (19:52 +0000)]
typo

27 years agoAdded color strip widgets
Barry Warsaw [Thu, 12 Feb 1998 19:52:31 +0000 (19:52 +0000)]
Added color strip widgets

27 years agoInitial revision
Barry Warsaw [Thu, 12 Feb 1998 19:51:57 +0000 (19:51 +0000)]
Initial revision

27 years ago(py-compute-indentation): Several changes made to improve navigation
Barry Warsaw [Thu, 12 Feb 1998 16:52:14 +0000 (16:52 +0000)]
(py-compute-indentation): Several changes made to improve navigation
over and around triple-quoted strings:

    - move the beginning-of-line to above the p-p-s call

    - in the `t' clause of the big cond, where we skip over
      triple-quoted strings, first find out if we're looking at a
      single or TQS, then skip over it in one fell swoop, instead of
      trying to loop over skipage of SQS's.

(py-parse-state): Implement XEmacs only hack to more accurately figure
out whether we're in a string or not.  Can't do this in Emacs because
it lacks the necessary primitive, so we just do it the old (and mostly
accurate, but foolable) way for Emacs.

27 years agoCorrect description of BUILD_SLICE.
Guido van Rossum [Thu, 12 Feb 1998 03:53:02 +0000 (03:53 +0000)]
Correct description of BUILD_SLICE.

27 years agoComment out the times package in the distributed version.
Fred Drake [Thu, 12 Feb 1998 03:48:50 +0000 (03:48 +0000)]
Comment out the times package in the distributed version.

27 years agoMark opcode arguments \var{} in the running text.
Fred Drake [Thu, 12 Feb 1998 03:32:18 +0000 (03:32 +0000)]
Mark opcode arguments \var{} in the running text.

In IMPORT_NAME description:  "is not affect:" --> "is not affected:"

27 years agoUse new \authoraddress{}; author's name and address are now separate.
Fred Drake [Thu, 12 Feb 1998 03:16:04 +0000 (03:16 +0000)]
Use new \authoraddress{}; author's name and address are now separate.

Use new \release{}; this is now separate from \date{}.

Use \email{} instead of \code{} for email addresses.

27 years agoRemove second index entry for UserList.
Fred Drake [Thu, 12 Feb 1998 03:10:55 +0000 (03:10 +0000)]
Remove second index entry for UserList.

27 years ago\rfcindex{}: Removed; no longer needed.
Fred Drake [Wed, 11 Feb 1998 23:08:20 +0000 (23:08 +0000)]
\rfcindex{}:  Removed; no longer needed.

\file{}:  Use a sans-serif font for the filename itself.

Use the fncychap.sty package for fancy chapter headings.

Replace the \maketitle command with our own format.  This is new, but it
looks a lot better than the old one.

Use \renewcommand instead of \def when extending or overriding standard LaTeX
commands.  This makes it more LaTeX-like.

27 years agoNew file. Written by Ulf A. Lindgren <lindgren@ae.chalmers.se>; we have
Fred Drake [Wed, 11 Feb 1998 23:01:23 +0000 (23:01 +0000)]
New file.  Written by Ulf A. Lindgren <lindgren@ae.chalmers.se>; we have
permission to distribute this without modifications.  This is the latest
version, directly from Ulf.

CTAN:macros/latex/contrib/supported/fncychap/

27 years agoAdded \nodename; added index entry for UserList.
Guido van Rossum [Wed, 11 Feb 1998 23:00:08 +0000 (23:00 +0000)]
Added \nodename; added index entry for UserList.

27 years agoAdded entries for stat, commands modules.
Guido van Rossum [Wed, 11 Feb 1998 22:58:55 +0000 (22:58 +0000)]
Added entries for stat, commands modules.

27 years agoAdded entries for re, soundex modules.
Guido van Rossum [Wed, 11 Feb 1998 22:57:10 +0000 (22:57 +0000)]
Added entries for re, soundex modules.

27 years agoSome subtleties suggested by Tamito Kajiyama, including an added
Guido van Rossum [Wed, 11 Feb 1998 22:55:55 +0000 (22:55 +0000)]
Some subtleties suggested by Tamito Kajiyama, including an added
\nodename macro for a section with a very underscriptive title.

27 years agoTurn the space in [\^ ...] into a hard space: [\^\ ...].
Guido van Rossum [Wed, 11 Feb 1998 22:52:47 +0000 (22:52 +0000)]
Turn the space in [\^ ...] into a hard space: [\^\ ...].

27 years agoSplit UserDict and UserList on two separate lines; added entries for
Guido van Rossum [Wed, 11 Feb 1998 22:36:17 +0000 (22:36 +0000)]
Split UserDict and UserList on two separate lines; added entries for
modules symbol and token.

27 years agoDon't break a long line at an unpleasant point.
Guido van Rossum [Wed, 11 Feb 1998 22:34:51 +0000 (22:34 +0000)]
Don't break a long line at an unpleasant point.

27 years agoAdded missing entry for cmath.
Guido van Rossum [Wed, 11 Feb 1998 22:33:57 +0000 (22:33 +0000)]
Added missing entry for cmath.

27 years agoReplace $math$ with \code{}.
Guido van Rossum [Wed, 11 Feb 1998 22:33:28 +0000 (22:33 +0000)]
Replace $math$ with \code{}.

27 years agoSwap ni and imp (so they are in the same order as their sections are).
Guido van Rossum [Wed, 11 Feb 1998 22:32:23 +0000 (22:32 +0000)]
Swap ni and imp (so they are in the same order as their sections are).

27 years agoRemove a spurious space from the title.
Guido van Rossum [Wed, 11 Feb 1998 22:31:54 +0000 (22:31 +0000)]
Remove a spurious space from the title.

27 years ago"lists objects" --> "list objects" (Section "More on Lists".)
Fred Drake [Wed, 11 Feb 1998 22:29:17 +0000 (22:29 +0000)]
"lists objects" --> "list objects"  (Section "More on Lists".)

27 years agoIn the appendix, all sections were marked as subsections, and so had section
Fred Drake [Wed, 11 Feb 1998 22:12:18 +0000 (22:12 +0000)]
In the appendix, all sections were marked as subsections, and so had section
numbers "A.0.#".  Fixed.

27 years agoBetter conversion of command line given initial color
Barry Warsaw [Wed, 11 Feb 1998 18:56:13 +0000 (18:56 +0000)]
Better conversion of command line given initial color

27 years agonew interface to find_byname()
Barry Warsaw [Wed, 11 Feb 1998 18:55:50 +0000 (18:55 +0000)]
new interface to find_byname()

27 years ago__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.
Barry Warsaw [Wed, 11 Feb 1998 18:55:37 +0000 (18:55 +0000)]
__init__(): simplify, use tuple as key to __byrgb, lowercase __byname key.

find_byrgb(): Changed name, interface (takes a tuple), and return
value

find_byname(): lowercase color name

27 years agoBetter dimensions
Barry Warsaw [Wed, 11 Feb 1998 18:54:23 +0000 (18:54 +0000)]
Better dimensions

27 years agoInterface changes, delegate chaining, type in widget addition
Barry Warsaw [Wed, 11 Feb 1998 17:19:54 +0000 (17:19 +0000)]
Interface changes, delegate chaining, type in widget addition

27 years agoSimplification of conversion routines
Barry Warsaw [Wed, 11 Feb 1998 17:19:23 +0000 (17:19 +0000)]
Simplification of conversion routines

27 years ago#Layout looks good, as does validation, and delegate chaining
Barry Warsaw [Wed, 11 Feb 1998 17:11:34 +0000 (17:11 +0000)]
#Layout looks good, as does validation, and delegate chaining

27 years agoAdd copyright.tex and boilerplate.tex to the common dependencies for .dvi
Fred Drake [Wed, 11 Feb 1998 14:43:38 +0000 (14:43 +0000)]
Add copyright.tex and boilerplate.tex to the common dependencies for .dvi
files.

27 years agoMark the URL "ftp://ftp.python.org" with \url{}.
Fred Drake [Wed, 11 Feb 1998 14:42:06 +0000 (14:42 +0000)]
Mark the URL "ftp://ftp.python.org" with \url{}.

27 years agoAdded PyImport_ExecCodeModuleEx(), which adds an extra parameter to
Guido van Rossum [Wed, 11 Feb 1998 05:53:02 +0000 (05:53 +0000)]
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to
pass it the true file.  This is used to set __file__ properly, instead
of believing what the code object carries with it.  (If the pointer
is NULL, the code object's co_filename is still used.)

27 years agoAdded PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
Guido van Rossum [Wed, 11 Feb 1998 05:47:24 +0000 (05:47 +0000)]
Added PyImport_ExecCodeModuleEx(), which adds an extra parameter to pass
it the true file.

27 years ago&do_cmd_rfc: New function. Handles \rfc{}.
Fred Drake [Tue, 10 Feb 1998 22:11:07 +0000 (22:11 +0000)]
&do_cmd_rfc:  New function.  Handles \rfc{}.

$STRIP_INDEX_TT:  New flag.  If set, the <tt>...</tt> around stuff in the index
is dropped.  This is more O'Reilly-like.

&make_str_index_entry:  Honor $STRIP_INDEX_TT.

&make_mod_index_entry:  Honor $STRIP_INDEX_TT.

27 years agoRemoved all references to the \rfcindex{} macro; now only \rfc{} is used.
Fred Drake [Tue, 10 Feb 1998 21:42:27 +0000 (21:42 +0000)]
Removed all references to the \rfcindex{} macro; now only \rfc{} is used.

27 years agoMinor performance nits.
Fred Drake [Tue, 10 Feb 1998 21:35:49 +0000 (21:35 +0000)]
Minor performance nits.

27 years agoInitial revision
Barry Warsaw [Tue, 10 Feb 1998 00:13:06 +0000 (00:13 +0000)]
Initial revision

27 years agoInclude indfix.py script in lib.dvi's processing.
Fred Drake [Mon, 9 Feb 1998 22:18:42 +0000 (22:18 +0000)]
Include indfix.py script in lib.dvi's processing.

27 years agoScript to fix up the Library Reference index so it's less ugly. The docstring:
Fred Drake [Mon, 9 Feb 1998 22:17:52 +0000 (22:17 +0000)]
Script to fix up the Library Reference index so it's less ugly.  The docstring:

"""Combine similar index entries into an entry and subentries.

For example:

  \item {foobar} (in module flotz), 23
  \item {foobar} (in module whackit), 4323

becomes

  \item {foobar}
    \subitem in module flotz, 23
    \subitem in module whackit, 4323

Note that an item which matches the format of a collapsable item but which
isn't part of a group of similar items is not modified.
"""

This results in a much more readable index, with less repitition of text;
especially for common method names.

27 years agoOops, missed a \POSIX{} in an index entry.
Fred Drake [Mon, 9 Feb 1998 22:12:28 +0000 (22:12 +0000)]
Oops, missed a \POSIX{} in an index entry.

27 years agoAdd some index entries; switch to logical markup.
Fred Drake [Mon, 9 Feb 1998 20:52:48 +0000 (20:52 +0000)]
Add some index entries; switch to logical markup.

27 years agoConsistently use \POSIX{} to denote POSIX. There were at least two different
Fred Drake [Mon, 9 Feb 1998 20:27:12 +0000 (20:27 +0000)]
Consistently use \POSIX{} to denote POSIX.  There were at least two different
ways to do it previously (not counting module names).

27 years agoDo the right magic to make \ABC{} get sorted correctly in the index.
Fred Drake [Mon, 9 Feb 1998 20:16:46 +0000 (20:16 +0000)]
Do the right magic to make \ABC{} get sorted correctly in the index.

27 years agoDo the right magic to make \UNIX{} get sorted correctly in the index.
Fred Drake [Mon, 9 Feb 1998 20:16:18 +0000 (20:16 +0000)]
Do the right magic to make \UNIX{} get sorted correctly in the index.

27 years agoUse the new RFC macros wherever RFCs are referenced by number. No other
Fred Drake [Mon, 9 Feb 1998 19:16:20 +0000 (19:16 +0000)]
Use the new RFC macros wherever RFCs are referenced by number.  No other
changes.

27 years agoAdd macros to insert RFC references much like the \manpage{} macro. Also a
Fred Drake [Mon, 9 Feb 1998 19:14:54 +0000 (19:14 +0000)]
Add macros to insert RFC references much like the \manpage{} macro.  Also a
macro to insert an RFC index reference.

(RFC references were formatted three different ways.)

27 years agoAdd a note about rounding up of readlines()' sizehint to 8K.
Guido van Rossum [Sun, 8 Feb 1998 22:51:09 +0000 (22:51 +0000)]
Add a note about rounding up of readlines()' sizehint to 8K.

27 years agoDocument getrefcount().
Guido van Rossum [Sat, 7 Feb 1998 21:17:05 +0000 (21:17 +0000)]
Document getrefcount().

27 years ago\itembreak, \itemjoin: Remove unused macros.
Fred Drake [Fri, 6 Feb 1998 22:52:52 +0000 (22:52 +0000)]
\itembreak, \itemjoin: Remove unused macros.

\idxcode{}:  New macro; used to mark things that would be \code{} for entry
into the index.  This allows easily switching things around for the
font used in the index.  (O'Reilly seems to keep it all plain roman
in the index.  Looks reasonable in the Python documentation as well.)

\*index{}:  Use \idxcode{} instead of {\codefont{}}.

27 years agoForgot to return NULL in joinfields() when a type error was detected
Guido van Rossum [Fri, 6 Feb 1998 22:37:12 +0000 (22:37 +0000)]
Forgot to return NULL in joinfields() when a type error was detected
in one of the sequence items.

27 years agoUpdated URL for zlib.
Guido van Rossum [Fri, 6 Feb 1998 22:36:10 +0000 (22:36 +0000)]
Updated URL for zlib.

27 years agoRegister Tcl_Finalize as a Python exit handler.
Guido van Rossum [Fri, 6 Feb 1998 22:35:46 +0000 (22:35 +0000)]
Register Tcl_Finalize as a Python exit handler.

27 years agoDon't store the exception info from an unhandled exception in a thread
Guido van Rossum [Fri, 6 Feb 1998 22:32:08 +0000 (22:32 +0000)]
Don't store the exception info from an unhandled exception in a thread
in sys.last_*; it prevents proper calling of destructors of local
variables.

27 years agoSet Py_FrozenFlag, to suppress error messages from getpath.c.
Guido van Rossum [Fri, 6 Feb 1998 22:30:29 +0000 (22:30 +0000)]
Set Py_FrozenFlag, to suppress error messages from getpath.c.

27 years ago- Use Py_GetPythonHome() instead of getenv("PYTHONHOME").
Guido van Rossum [Fri, 6 Feb 1998 22:29:30 +0000 (22:29 +0000)]
- Use Py_GetPythonHome() instead of getenv("PYTHONHOME").

- Don't print error messages when Py_FrozenFlag is set.

27 years ago- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
Guido van Rossum [Fri, 6 Feb 1998 22:28:05 +0000 (22:28 +0000)]
- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
embedders to force a different PYTHONHOME.

- Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but
flag determines whether sys.last_* are set or not.  PyErr_Print()
now simply calls PyErr_PrintEx(1).

27 years ago- Add Py_FrozenFlag, intended to suppress error messages fron
Guido van Rossum [Fri, 6 Feb 1998 22:27:46 +0000 (22:27 +0000)]
- Add Py_FrozenFlag, intended to suppress error messages fron
getpath.c in frozen binaries.

27 years agoEhm, three unrelated changes.
Guido van Rossum [Fri, 6 Feb 1998 22:27:24 +0000 (22:27 +0000)]
Ehm, three unrelated changes.

- Add Py_FrozenFlag, intended to suppress error messages fron
getpath.c in frozen binaries.

- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
embedders to force a different PYTHONHOME.

- Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but
flag determines whether sys.last_* are set or not.  PyErr_Print()
now simply calls PyErr_PrintEx(1).

27 years agoRemove commented-out \itembreak.
Fred Drake [Fri, 6 Feb 1998 22:26:04 +0000 (22:26 +0000)]
Remove commented-out \itembreak.

27 years agoUpdate two of the \indexsubitem values to use singular rather than plural form
Fred Drake [Fri, 6 Feb 1998 22:19:23 +0000 (22:19 +0000)]
Update two of the \indexsubitem values to use singular rather than plural form
of "variable": each individual variable should be identified as a single
variable and not a collection in the index.

27 years agoAdded rmtree(), to recursively remove a directory tree.
Guido van Rossum [Fri, 6 Feb 1998 21:38:09 +0000 (21:38 +0000)]
Added rmtree(), to recursively remove a directory tree.
Code by David Ascher (docstring by me).

27 years agoTwo more refinements of the cleanup process.
Guido van Rossum [Fri, 6 Feb 1998 17:16:02 +0000 (17:16 +0000)]
Two more refinements of the cleanup process.

(1) Explicitly clear __builtin__._ and sys.{last,exc}_* before
clearing anything else.  These are common places where user values
hide and people complain when their destructors fail.  Since the
modules containing them are deleted *last* of all, they would come too
late in the normal destruction order.  Sigh.

(2) Add some debugging aid to cleanup (after a suggestion by Marc
Lemburg) -- print the names of the modules being cleaned, and (when
-vv is used) print the names of the variables being cleared.

27 years ago(py-scroll-process-buffer): Default value changed to nil to act more
Barry Warsaw [Fri, 6 Feb 1998 16:01:52 +0000 (16:01 +0000)]
(py-scroll-process-buffer): Default value changed to nil to act more
like default shell-mode behavior.

27 years agoAdd ref to errno module, and change ref to posix.error to os.error.
Guido van Rossum [Fri, 6 Feb 1998 15:18:25 +0000 (15:18 +0000)]
Add ref to errno module, and change ref to posix.error to os.error.

27 years agoAdd ref to errno module.
Guido van Rossum [Fri, 6 Feb 1998 15:18:05 +0000 (15:18 +0000)]
Add ref to errno module.

27 years ago(py-parse-state): When looking for landing inside triple-quoted
Barry Warsaw [Thu, 5 Feb 1998 23:35:09 +0000 (23:35 +0000)]
(py-parse-state): When looking for landing inside triple-quoted
string, don't check for indentation at column zero.  This will falsely
hit a line inside a docstring that starts at column zero but ends in a
colon.

27 years ago(py-python-command-args): New variable, allows user to customize the
Barry Warsaw [Thu, 5 Feb 1998 20:45:49 +0000 (20:45 +0000)]
(py-python-command-args): New variable, allows user to customize the
arguments past to py-python-command when invoking the Python shell.

27 years agoRetract the statement that all functions called by Python (even method
Guido van Rossum [Thu, 5 Feb 1998 19:59:39 +0000 (19:59 +0000)]
Retract the statement that all functions called by Python (even method
defs) need to be declared extern "C" -- it seems to have no basis in
truth (any more?).

27 years agoTwo suggested features by Sjoerd:
Guido van Rossum [Thu, 5 Feb 1998 16:22:27 +0000 (16:22 +0000)]
Two suggested features by Sjoerd:

- use the tempcache in the open() method, too.

- use the "unwrap"ped url as key for the tempcache.

27 years ago(1) Use matchobj.groups(), not matchbj.group() to get all groups.
Guido van Rossum [Thu, 5 Feb 1998 16:21:28 +0000 (16:21 +0000)]
(1) Use matchobj.groups(), not matchbj.group() to get all groups.

(2) Provisional hack to avoid dying when trying to turn echo on or off
on Macs, where os.system() doesn't exist.

27 years agoFixed bitmaps; added include files and libs;
Guido van Rossum [Thu, 5 Feb 1998 02:26:02 +0000 (02:26 +0000)]
Fixed bitmaps; added include files and libs;
moved DLLs into their own directory (and added it to default path);
install zlib.dll in SYS32; fixed location of help root.

27 years agoAdd *.pdf files to the clobber target (same target as *.ps).
Fred Drake [Wed, 4 Feb 1998 20:33:13 +0000 (20:33 +0000)]
Add *.pdf files to the clobber target (same target as *.ps).

27 years agoTell CVS to ignore PDF files.
Fred Drake [Wed, 4 Feb 1998 20:27:39 +0000 (20:27 +0000)]
Tell CVS to ignore PDF files.

27 years agoAdded description of "D" format for PyArg_ParseTuple(), including example
Fred Drake [Wed, 4 Feb 1998 20:26:31 +0000 (20:26 +0000)]
Added description of "D" format for PyArg_ParseTuple(), including example
use with function name provided as well.

Wrapped up PyArg_ParseTupleAndKeywords() description and provided example
based on Geoff Philbrick's example to the mailing list.

27 years agoUse implicit rules to perform DVI->PS and PS->PDF conversions. PDF conversion
Fred Drake [Wed, 4 Feb 1998 19:54:40 +0000 (19:54 +0000)]
Use implicit rules to perform DVI->PS and PS->PDF conversions.  PDF conversion
requires "distill" from a FrameMaker installation.  ;-)  Would probably need
to be different for Windows/Mac.

27 years ago\modindex{}: New macro; index module without declaring it "built-in" or
Fred Drake [Wed, 4 Feb 1998 14:43:36 +0000 (14:43 +0000)]
\modindex{}:  New macro; index module without declaring it "built-in" or
"standard".  This is mostly for documentation of modules outside the
standard library.

27 years agoAdded missing "{" for "\code <?stuff?>}".
Fred Drake [Tue, 3 Feb 1998 23:12:13 +0000 (23:12 +0000)]
Added missing "{" for "\code <?stuff?>}".

27 years agoFix typo in format for strftime() used by cookie code.
Guido van Rossum [Mon, 2 Feb 1998 03:19:06 +0000 (03:19 +0000)]
Fix typo in format for strftime() used by cookie code.

27 years agoClarify that capwords() removes leading/trailing whitespace.
Guido van Rossum [Mon, 2 Feb 1998 03:01:10 +0000 (03:01 +0000)]
Clarify that capwords() removes leading/trailing whitespace.

Remove references to regsub, which is obsolescent.

27 years agoMoved toplevel widget to PyncheWidget.py
Barry Warsaw [Sat, 31 Jan 1998 23:39:28 +0000 (23:39 +0000)]
Moved toplevel widget to PyncheWidget.py

27 years agoInitial revision
Barry Warsaw [Sat, 31 Jan 1998 23:39:01 +0000 (23:39 +0000)]
Initial revision

27 years agoBadColor: new exception class
Barry Warsaw [Sat, 31 Jan 1998 23:38:48 +0000 (23:38 +0000)]
BadColor: new exception class

rrggbb_to_triplet(): New utility function

27 years agoBetter implementation of nearest(). Not faster, but better
Barry Warsaw [Sat, 31 Jan 1998 00:32:07 +0000 (00:32 +0000)]
Better implementation of nearest().  Not faster, but better

27 years agoInitial revision
Barry Warsaw [Sat, 31 Jan 1998 00:29:41 +0000 (00:29 +0000)]
Initial revision

27 years agomered Greg's suggestions, added docstring
Barry Warsaw [Fri, 30 Jan 1998 21:11:52 +0000 (21:11 +0000)]
mered Greg's suggestions, added docstring

27 years agoInitial revision
Barry Warsaw [Thu, 29 Jan 1998 23:48:55 +0000 (23:48 +0000)]
Initial revision

27 years agoAdd S_ISBLK().
Guido van Rossum [Thu, 29 Jan 1998 22:03:41 +0000 (22:03 +0000)]
Add S_ISBLK().

27 years agoMake this test work when imported from the interpreter instead of run
Guido van Rossum [Thu, 29 Jan 1998 21:53:17 +0000 (21:53 +0000)]
Make this test work when imported from the interpreter instead of run
from regrtest.py (it still works there too, of course).

27 years agoSez The Dragon:
Guido van Rossum [Thu, 29 Jan 1998 17:26:45 +0000 (17:26 +0000)]
Sez The Dragon:
Ok, I fixed the quotes, along with a bug or two.
Also added another exception.

27 years agoSMTP client by The Dragon De Monsyne <dragondm@integral.org>.
Guido van Rossum [Thu, 29 Jan 1998 17:24:40 +0000 (17:24 +0000)]
SMTP client by The Dragon De Monsyne <dragondm@integral.org>.

27 years agoNew version of xmllib from Sjoerd.
Guido van Rossum [Thu, 29 Jan 1998 14:55:24 +0000 (14:55 +0000)]
New version of xmllib from Sjoerd.
The main incompatibility is that the error reporting method is now
called as
 parser.syntax_error(msg)
instead of
 parser.syntax_error(lineno, msg)

This new version also has some code to deal with the <?xml?> and
<!DOCTYPE> tags at the start of an XML document.
The documentation has been updated, and a small test module has been
created.

27 years agoAdd Piet van Oostrum's name to the comments.
Guido van Rossum [Thu, 29 Jan 1998 04:04:04 +0000 (04:04 +0000)]
Add Piet van Oostrum's name to the comments.

27 years agoAdd simple Unix socket example by Piet van Oostrum.
Guido van Rossum [Wed, 28 Jan 1998 16:54:00 +0000 (16:54 +0000)]
Add simple Unix socket example by Piet van Oostrum.

27 years agoFixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.
Fred Drake [Wed, 28 Jan 1998 14:59:48 +0000 (14:59 +0000)]
Fixed typo reported by Grzegorz Makarewicz <mak@mikroplan.com.pl>.

27 years ago(This fix is really by Jeremy)
Guido van Rossum [Tue, 27 Jan 1998 19:29:45 +0000 (19:29 +0000)]
(This fix is really by Jeremy)

Here's my suggested replacement for gzip.py for 1.5.1.  I've
re-implemeted methods readline and readlines, added an _unread, and
tweaked read and _read.

I tried a more complicated buffer scheme for unread (using a list of
strings and string.join), but it was more complicated and slower.
This version is a lot faster than the current version and is still
pretty simple.

27 years agoAdd a note explaining that multiplying a sequence with a negative
Guido van Rossum [Tue, 27 Jan 1998 19:09:43 +0000 (19:09 +0000)]
Add a note explaining that multiplying a sequence with a negative
number is the same as multiplying it with zero, and yields an empty
sequence.