]> granicus.if.org Git - python/log
python
26 years agoAdd the info "dir" fragment to the info tarball.
Fred Drake [Wed, 27 Jan 1999 18:50:21 +0000 (18:50 +0000)]
Add the info "dir" fragment to the info tarball.

26 years agoFragment of an info "dir" file for the Python documentation.
Fred Drake [Wed, 27 Jan 1999 18:49:44 +0000 (18:49 +0000)]
Fragment of an info "dir" file for the Python documentation.

26 years agoSimplify slightly.
Fred Drake [Wed, 27 Jan 1999 18:40:36 +0000 (18:40 +0000)]
Simplify slightly.

26 years agoDon't build info for the Macintosh module reference by default; it
Fred Drake [Wed, 27 Jan 1999 18:30:16 +0000 (18:30 +0000)]
Don't build info for the Macintosh module reference by default; it
doesn't do well.

26 years agoiniterrno(): Nailed a not-so-tiny memory leak. The de dictionary is
Barry Warsaw [Wed, 27 Jan 1999 18:04:05 +0000 (18:04 +0000)]
initerrno(): Nailed a not-so-tiny memory leak.  The de dictionary is
put into the module dict, but is never DECREF'd in this function, so
it and all its contents leak.

26 years agoPyImport_ReloadModule(): Nailed a small memory leak. In the
Barry Warsaw [Wed, 27 Jan 1999 17:54:20 +0000 (17:54 +0000)]
PyImport_ReloadModule(): Nailed a small memory leak.  In the
else-clause of the subname test, the parentname object was never
DECREF'd.

26 years agoPatches by William Lewis for Nextstep descendants.
Guido van Rossum [Wed, 27 Jan 1999 17:53:11 +0000 (17:53 +0000)]
Patches by William Lewis for Nextstep descendants.

26 years agoPyLong_FromString(): Nailed a small memory leak. In the str==start
Barry Warsaw [Wed, 27 Jan 1999 17:48:27 +0000 (17:48 +0000)]
PyLong_FromString(): Nailed a small memory leak.  In the str==start
test, we forgot that z is still pointing to a real live object.
DECREF() it before returning.

26 years ago\py@linkToName: New macro to consolidate support for most internal
Fred Drake [Wed, 27 Jan 1999 17:37:36 +0000 (17:37 +0000)]
\py@linkToName:  New macro to consolidate support for most internal
hyperlinking in the PDF version.  This also allows many of the
macros that do this stuff to be a good bit more readable.
Takes the target name and link content as parameters.

Use \py@linkToName for all internal links.

26 years agoAdded the files for the repr and ConfigParser modules.
Fred Drake [Wed, 27 Jan 1999 17:21:09 +0000 (17:21 +0000)]
Added the files for the repr and ConfigParser modules.

26 years agoDocument the repr module. This removes the entire "Code objects and
Fred Drake [Wed, 27 Jan 1999 17:20:33 +0000 (17:20 +0000)]
Document the repr module.  This removes the entire "Code objects and
files, debugger etc." section from "Undocumented Modules"!

26 years agoerr_input(): Nailed a small memory leak. If the error is E_INTR, the
Barry Warsaw [Wed, 27 Jan 1999 16:39:40 +0000 (16:39 +0000)]
err_input(): Nailed a small memory leak.  If the error is E_INTR, the
v temporary variable was never decref'd.  Test this by starting up the
interpreter, hitting C-c, then immediately exiting.

Same potential leak can occur if error is E_NOMEM, since the return is
done in the case block.  Added Py_XDECREF(v); to both blocks, just
before the return.

26 years ago_PySys_Init(): Nailed small memory leak. The stringobject created for
Barry Warsaw [Wed, 27 Jan 1999 16:33:19 +0000 (16:33 +0000)]
_PySys_Init(): Nailed small memory leak.  The stringobject created for
sys.version was missing a Py_XDECREF().

26 years agoDon't say that the module defines the "following functions" and then
Fred Drake [Wed, 27 Jan 1999 15:48:23 +0000 (15:48 +0000)]
Don't say that the module defines the "following functions" and then
only describe one; say "following function" instead!

Merge the two one-sentence paragraphs into a single paragraph, so it
doesn't look too stupid.

26 years agocleaned up ugly hack related to activate events and suspend/resume -- jvr
Just van Rossum [Wed, 27 Jan 1999 14:22:11 +0000 (14:22 +0000)]
cleaned up ugly hack related to activate events and suspend/resume -- jvr

26 years agoRe-format the module docstring and document the new get() argument.
Barry Warsaw [Tue, 26 Jan 1999 22:01:37 +0000 (22:01 +0000)]
Re-format the module docstring and document the new get() argument.

26 years agoIncorporate changes for patched version of ConfigParser.
Fred Drake [Tue, 26 Jan 1999 21:49:05 +0000 (21:49 +0000)]
Incorporate changes for patched version of ConfigParser.

26 years agoPatch by Chris Petrilli (not really tested since I don't know this
Guido van Rossum [Tue, 26 Jan 1999 19:29:25 +0000 (19:29 +0000)]
Patch by Chris Petrilli (not really tested since I don't know this
module myself) to accept an option keyword argument (vars) that is
substituted on top of the defaults that were setup in __init__.  The
patch also fixes the problem where you can't have recusive references
inside your configuration file.

26 years ago\py@modindex: Format the index entry for the module index more like
Fred Drake [Tue, 26 Jan 1999 19:23:09 +0000 (19:23 +0000)]
\py@modindex:  Format the index entry for the module index more like
that used in the "normal" index.  No visual difference, but
more easily processed by helper scripts.

26 years agoDocumentation for the ConfigParser module, by Christopher G. Petrilli
Fred Drake [Tue, 26 Jan 1999 15:47:59 +0000 (15:47 +0000)]
Documentation for the ConfigParser module, by Christopher G. Petrilli
(petrilli@amber.org).

26 years agoAdded Sherlock source for Python documentation, and added icons to them all.
Jack Jansen [Tue, 26 Jan 1999 13:09:59 +0000 (13:09 +0000)]
Added Sherlock source for Python documentation, and added icons to them all.

26 years agoexpandtabs__doc__: blank line which was not terminated with \n\ caused
Barry Warsaw [Tue, 26 Jan 1999 02:15:50 +0000 (02:15 +0000)]
expandtabs__doc__: blank line which was not terminated with \n\ caused
the SunPro C compiler to choke.  Removed this redundant line.

26 years agoAdd spawnv and spawnve functions for Win32 platforms.
Guido van Rossum [Mon, 25 Jan 1999 23:20:23 +0000 (23:20 +0000)]
Add spawnv and spawnve functions for Win32 platforms.

26 years agoA gift from Fredrik Lundh: fast C implementation of expandtabs().
Guido van Rossum [Mon, 25 Jan 1999 22:36:24 +0000 (22:36 +0000)]
A gift from Fredrik Lundh: fast C implementation of expandtabs().
I've reformatted it, added a few comments, a test for tabsize <= 0,
and used the AS_STRING macro.

26 years agoDocument the default for tabsize in expandtabs().
Guido van Rossum [Mon, 25 Jan 1999 22:31:53 +0000 (22:31 +0000)]
Document the default for tabsize in expandtabs().

26 years agoThe usual.
Guido van Rossum [Mon, 25 Jan 1999 21:57:29 +0000 (21:57 +0000)]
The usual.

26 years agoAllow recognition of attributes even if they don't have space in front
Fred Drake [Mon, 25 Jan 1999 21:57:07 +0000 (21:57 +0000)]
Allow recognition of attributes even if they don't have space in front
of them.  I.e., '<a name="foo"href="bar.html">' will now have two
attributes recognized.

Based on comments from newgroup.

26 years agoChange rare occurrences of #if HAVE_LONG_LONG to #ifdef.
Guido van Rossum [Mon, 25 Jan 1999 21:48:56 +0000 (21:48 +0000)]
Change rare occurrences of #if HAVE_LONG_LONG to #ifdef.

26 years agoMake sure not to call realloc() with a NULL pointer -- call malloc()
Guido van Rossum [Mon, 25 Jan 1999 21:43:51 +0000 (21:43 +0000)]
Make sure not to call realloc() with a NULL pointer -- call malloc()
in that case.  Tamito Kajiyama.

26 years agoInclude myselect.h -- needed on some platforms.
Guido van Rossum [Mon, 25 Jan 1999 21:39:03 +0000 (21:39 +0000)]
Include myselect.h -- needed on some platforms.

26 years agoRearrange the -I flags for compiling _tkinter.c so that
Guido van Rossum [Mon, 25 Jan 1999 21:38:29 +0000 (21:38 +0000)]
Rearrange the -I flags for compiling _tkinter.c so that
/usr/local/include comes before /usr/X11R1/include.  On some Linux
distributions the latter apparently contains (standard!) a bad tcl.h
or tk.h.

26 years agoDon't die if CodeType doesn't exist -- ignore the error. This could
Guido van Rossum [Mon, 25 Jan 1999 21:37:02 +0000 (21:37 +0000)]
Don't die if CodeType doesn't exist -- ignore the error.  This could
happen in restricted mode.

26 years agoThere's a macro PycString_IMPORT which the documentation listed as
Guido van Rossum [Mon, 25 Jan 1999 21:36:13 +0000 (21:36 +0000)]
There's a macro PycString_IMPORT which the documentation listed as
PycStringIO_IMPORT.  While arguably the name used in the documentation
is more consistent, I think it's probably safer not to change the
macro definition and instead fix the doco.

26 years agoCorrect typo in new function get_breaks().
Guido van Rossum [Mon, 25 Jan 1999 20:56:33 +0000 (20:56 +0000)]
Correct typo in new function get_breaks().

26 years agoChange clear syntax to support three alternatives:
Guido van Rossum [Mon, 25 Jan 1999 20:56:07 +0000 (20:56 +0000)]
Change clear syntax to support three alternatives:

    clear
    clear file:line
    clear bpno bpno ...

Also print the breakpoint data after calling set_break(), because the
print statement in set_break() has gone.

26 years agoChange clear_break() to the old signature clear_break(file, line).
Guido van Rossum [Mon, 25 Jan 1999 20:51:34 +0000 (20:51 +0000)]
Change clear_break() to the old signature clear_break(file, line).
Add new clear_bpbynumber() with single bpno argument.  (Adapted from
a patch by Richard Wolff.)

Also some cleanup in error messages and moved some comments into a
docstring.

26 years agoAi! complex_nonzero() has && which should be ||, else decidedly
Guido van Rossum [Mon, 25 Jan 1999 19:42:19 +0000 (19:42 +0000)]
Ai!  complex_nonzero() has && which should be ||, else decidedly
non-zero things like 5j and complex(1,0) are considered to be
zero/false.  Tim Peters.

26 years agoOnly do ttyname() when HAVE_TTYNAME is defined.
Guido van Rossum [Mon, 25 Jan 1999 16:12:23 +0000 (16:12 +0000)]
Only do ttyname() when HAVE_TTYNAME is defined.

Also define F_OK etc. when not already defined, when doing access().

26 years agoAdding sherlock search templates for Python and Python FAQ.
Jack Jansen [Mon, 25 Jan 1999 15:11:15 +0000 (15:11 +0000)]
Adding sherlock search templates for Python and Python FAQ.

26 years agoAdded Icn module to toolboxmodules
Jack Jansen [Mon, 25 Jan 1999 12:39:39 +0000 (12:39 +0000)]
Added Icn module to toolboxmodules

26 years agoSet PythonCore version number to sys.hexversion, and removed version
Jack Jansen [Mon, 25 Jan 1999 12:24:27 +0000 (12:24 +0000)]
Set PythonCore version number to sys.hexversion, and removed version
numbers in all other projects/libraries.

26 years agoScript to synchronize files with / in their name and their _s_ counterparts.
Just van Rossum [Sun, 24 Jan 1999 23:24:21 +0000 (23:24 +0000)]
Script to synchronize files with / in their name and their _s_ counterparts.
Needed to keep CWGUSI under cvs because of filesnames with slashes.

26 years agoTest checkin, to see whether I really can do it. --jvr schpeaking.
Just van Rossum [Sat, 23 Jan 1999 00:06:06 +0000 (00:06 +0000)]
Test checkin, to see whether I really can do it. --jvr schpeaking.

26 years agoTest checkin, to see whether I really can do it. --jvr schpeaking.
Just van Rossum [Fri, 22 Jan 1999 23:58:04 +0000 (23:58 +0000)]
Test checkin, to see whether I really can do it. --jvr schpeaking.

26 years agoAdd "term" to AUTOCLOSE.
Fred Drake [Fri, 22 Jan 1999 22:48:24 +0000 (22:48 +0000)]
Add "term" to AUTOCLOSE.

26 years agoHeader for PyObject_DelItem() mentioned non-existing 3rd argument.
Guido van Rossum [Fri, 22 Jan 1999 20:10:49 +0000 (20:10 +0000)]
Header for PyObject_DelItem() mentioned non-existing 3rd argument.

26 years agoUpdated for 1.5.2b1
Jack Jansen [Fri, 22 Jan 1999 13:26:45 +0000 (13:26 +0000)]
Updated for 1.5.2b1

26 years agoIn unpackevent, get the direct object (----) before asking for missed parameters.
Jack Jansen [Fri, 22 Jan 1999 13:23:12 +0000 (13:23 +0000)]
In unpackevent, get the direct object (----) before asking for missed parameters.
The documentation is unclear on this, but the old implementation caused problems
with Default Folder.

26 years agoSelect the whole default input field in AskString (Joe Strout)
Jack Jansen [Fri, 22 Jan 1999 13:14:06 +0000 (13:14 +0000)]
Select the whole default input field in AskString (Joe Strout)

26 years ago(py-mode-map): Add back force of RET (aka C-m) to
Barry Warsaw [Thu, 21 Jan 1999 17:06:11 +0000 (17:06 +0000)]
(py-mode-map): Add back force of RET (aka C-m) to
py-newline-and-indent.

26 years agoAdded examples/testcode for the Icn module.
Jack Jansen [Thu, 21 Jan 1999 14:30:55 +0000 (14:30 +0000)]
Added examples/testcode for the Icn module.

26 years agoDon't qualify local symbols with aetools...
Jack Jansen [Thu, 21 Jan 1999 13:34:26 +0000 (13:34 +0000)]
Don't qualify local symbols with aetools...

26 years agoManually added definitions for normal, bold, etc. These are in MacTypes (of all
Jack Jansen [Thu, 21 Jan 1999 13:31:30 +0000 (13:31 +0000)]
Manually added definitions for normal, bold, etc. These are in MacTypes (of all
places) which isn't worth bgenning.

26 years agoUpdated for 1.5.2b1
Jack Jansen [Thu, 21 Jan 1999 12:51:36 +0000 (12:51 +0000)]
Updated for 1.5.2b1

26 years agoUpdated for 1.5.2b1 (better late than never:-)
Jack Jansen [Thu, 21 Jan 1999 12:50:47 +0000 (12:50 +0000)]
Updated for 1.5.2b1 (better late than never:-)

26 years agoUpdated the version number in the vers and preffilename resources.
Jack Jansen [Thu, 21 Jan 1999 12:50:19 +0000 (12:50 +0000)]
Updated the version number in the vers and preffilename resources.

26 years agoRemoved warnings for packages (Just implemented support for freezing
Jack Jansen [Thu, 21 Jan 1999 12:49:20 +0000 (12:49 +0000)]
Removed warnings for packages (Just implemented support for freezing
them, so the warning is obsolete).

26 years agoconvert(): Added parameter "autoclose", which should be a sequence of
Fred Drake [Wed, 20 Jan 1999 20:35:05 +0000 (20:35 +0000)]
convert():  Added parameter "autoclose", which should be a sequence of
general identifiers for which closing tags will be omitted
when SGML is generated.  This can be used to tell the markup
generator to drop stuff like </para>.  Note that it needs to
be possible for the closing tag to *always* be omitted for it
to be included in "autoclose".

main():  Added command-line option "-a" / "--autoclose" to set the
list of general identifiers passed to the convert() function
as the "autoclose" parameter.  The list may only be specified
once (not additive) and GIs should be comma-separated.  The
default list includes only "para".

26 years agoModified the "sgml" and "xml" targets to stop if the sub-makes fail in
Fred Drake [Wed, 20 Jan 1999 17:26:56 +0000 (17:26 +0000)]
Modified the "sgml" and "xml" targets to stop if the sub-makes fail in
any subdirectory; don't continue with remaining subdirs.

Added "api", "ext", "lib", "mac", "ref", and "tut" targets to only do
submakes in those directories.  This is just a lot easier to use than
to cd into the subdir and use make.rules directly.

26 years agoAdd caveat on partial dependence on the "cl" module, only available on
Fred Drake [Wed, 20 Jan 1999 16:26:09 +0000 (16:26 +0000)]
Add caveat on partial dependence on the "cl" module, only available on
IRIX systems.

26 years agoMove the jpeg module to the SGI section; it is dependent on the "cl"
Fred Drake [Wed, 20 Jan 1999 15:55:20 +0000 (15:55 +0000)]
Move the jpeg module to the SGI section; it is dependent on the "cl"
module available on IRIX.

26 years agocreate_module_info(): If there's a \moduleauthor, move it to an
Fred Drake [Tue, 19 Jan 1999 23:09:31 +0000 (23:09 +0000)]
create_module_info():  If there's a \moduleauthor, move it to an
<author> inside the <moduleinfo> element.

Fix problems with paragraph identification.

26 years agoisnmtoken(), istoken(): Fix to ensure the regex has to match the
Fred Drake [Tue, 19 Jan 1999 23:03:04 +0000 (23:03 +0000)]
isnmtoken(), istoken():  Fix to ensure the regex has to match the
entire attribute value.

Add ability to save list of "empty" elements to a file -- enabled by
constant in the code.

26 years agohandle_labels(): Fix problem for document fragments containing more
Fred Drake [Tue, 19 Jan 1999 21:46:48 +0000 (21:46 +0000)]
handle_labels():  Fix problem for document fragments containing more
than one "root" that prevented all the <label id=...> items
from being promoted to id attributes on the enclosing chapter/
section/... properly.

26 years agoRevised comments on null bytes in pattern string.
Fred Drake [Tue, 19 Jan 1999 20:00:08 +0000 (20:00 +0000)]
Revised comments on null bytes in pattern string.

Removed "New" from module synopsis.

26 years agoFix second description of handling 2-digit years (last item in
Fred Drake [Tue, 19 Jan 1999 19:35:18 +0000 (19:35 +0000)]
Fix second description of handling 2-digit years (last item in
introductory text).

26 years agoconvert(): Change the element name remapping to convert <refmodule>
Fred Drake [Tue, 19 Jan 1999 17:11:23 +0000 (17:11 +0000)]
convert():  Change the element name remapping to convert <refmodule>
to <module link>.

26 years agoformat_attrs(): Attempt a bit more minimization for SGML output.
Fred Drake [Tue, 19 Jan 1999 17:10:31 +0000 (17:10 +0000)]
format_attrs():  Attempt a bit more minimization for SGML output.

26 years agoadd_module_idx(), add_idx_hook():
Fred Drake [Tue, 19 Jan 1999 16:30:10 +0000 (16:30 +0000)]
add_module_idx(), add_idx_hook():
Change the message printed before running buildindex.py;
"Doing the index..." wasn't clear and could be misinterpreted
with an inappropriate mindset.  ;-)

26 years agoEnable os.path as a mostly-normal submodule, including "from os.path
Fred Drake [Tue, 19 Jan 1999 16:05:13 +0000 (16:05 +0000)]
Enable os.path as a mostly-normal submodule, including "from os.path
import isfile" and "import os.path".

26 years ago(py-mode-map): Removed special bindings for C-m and C-j to
Barry Warsaw [Tue, 19 Jan 1999 13:26:56 +0000 (13:26 +0000)]
(py-mode-map): Removed special bindings for C-m and C-j to
py-newline-and-indent.  These ought to get picked up by the mapcar
that follows; any existing binding to newline-and-indent gets shadowed
to py-newline-and-indent.

This will break some people who, e.g. bind C-m or C-j to newline but
still want these bound to py-newline-and-indent in Python mode.  On
the other hand, the forced binding pisses off Emacs diehards.  So
consider this experimental and see if any tall Dutch guys complain :-)

26 years ago(py-narrow-to-defun): New command (bound to C-x n d) which mimics the
Barry Warsaw [Mon, 18 Jan 1999 21:49:39 +0000 (21:49 +0000)]
(py-narrow-to-defun): New command (bound to C-x n d) which mimics the
standard narrow-to-defun but works with Python classes and methods.
With no arg, narrows to most enclosing def/method.  With C-u arg,
narrows to most enclosing class.

26 years agoAdded 'warn' method.
Greg Ward [Mon, 18 Jan 1999 17:08:16 +0000 (17:08 +0000)]
Added 'warn' method.

26 years agoFix typo spotted by Jeff MacDonald <jam@ans.net>.
Fred Drake [Mon, 18 Jan 1999 15:46:02 +0000 (15:46 +0000)]
Fix typo spotted by Jeff MacDonald <jam@ans.net>.

26 years agoOnly deiconify when iconic.
Guido van Rossum [Mon, 18 Jan 1999 15:18:57 +0000 (15:18 +0000)]
Only deiconify when iconic.

26 years agoMisc
Guido van Rossum [Mon, 18 Jan 1999 15:18:34 +0000 (15:18 +0000)]
Misc

26 years agoInterface to GetIcon, PlotIcon and friends.
Jack Jansen [Mon, 18 Jan 1999 09:34:50 +0000 (09:34 +0000)]
Interface to GetIcon, PlotIcon and friends.

26 years agoAdded doc strings to the exception classes.
Guido van Rossum [Fri, 15 Jan 1999 04:03:46 +0000 (04:03 +0000)]
Added doc strings to the exception classes.
Contributed by Blake Winton, but considerably edited.

26 years agoPatch by Piers Lauder: make exceptions classes.
Guido van Rossum [Fri, 15 Jan 1999 03:23:55 +0000 (03:23 +0000)]
Patch by Piers Lauder: make exceptions classes.
Take opportunity to add more explanatory messages to exceptions.

26 years ago(py-electric-delete): Implement the XEmacs 21 blessed way of checking
Barry Warsaw [Fri, 15 Jan 1999 02:12:31 +0000 (02:12 +0000)]
(py-electric-delete): Implement the XEmacs 21 blessed way of checking
for delete forwardness.

26 years agoBruce Wheeler quotes Mark Hammond with a different version of the
Guido van Rossum [Thu, 14 Jan 1999 22:40:30 +0000 (22:40 +0000)]
Bruce Wheeler quotes Mark Hammond with a different version of the
last patch to this file: use pathLen, not bufSize, as the initializer.

26 years agoAdd a "tarball" target.
Fred Drake [Thu, 14 Jan 1999 22:35:05 +0000 (22:35 +0000)]
Add a "tarball" target.

26 years agoAdjust so that we are no longer using special entities for well-known
Fred Drake [Thu, 14 Jan 1999 21:44:56 +0000 (21:44 +0000)]
Adjust so that we are no longer using special entities for well-known
names.  These are too much of a pain for occaissional authors.

26 years agofor method getaddrlist(): Added a note clarifying that all named
Barry Warsaw [Thu, 14 Jan 1999 21:26:54 +0000 (21:26 +0000)]
for method getaddrlist(): Added a note clarifying that all named
headers and their continuation lines are parsed.

26 years agoShorten the name of the <rfc> "number" attribute to "num".
Fred Drake [Thu, 14 Jan 1999 21:18:52 +0000 (21:18 +0000)]
Shorten the name of the <rfc> "number" attribute to "num".

26 years agoMake <rfc> no longer an empty element but a container. The text
Fred Drake [Thu, 14 Jan 1999 21:18:03 +0000 (21:18 +0000)]
Make <rfc> no longer an empty element but a container.  The text
currently generated by the LaTeX and LaTeX2HTML processes is generated
here as well, making it more flexible in the SGML version.

Reduce the <args> element so that <optional> goes away; just use
square brackets to indicate what's optional.  This makes it easier to
read than the LaTeX, and the processor can do any checking it needs to
in order to make sure it's legit.  Possible shortcoming: DSSSL
processors may need more explicit markup.  Can probably hack around it
for this case, but we'll see.

26 years agoTest the rfc822.py module. Contains just a few simple cases, and some
Barry Warsaw [Thu, 14 Jan 1999 20:00:58 +0000 (20:00 +0000)]
Test the rfc822.py module.  Contains just a few simple cases, and some
troublesome ones encountered on the c.l.py list.

26 years agoMessage.getaddrlist(): This now handles multiple occurances of the
Barry Warsaw [Thu, 14 Jan 1999 19:59:58 +0000 (19:59 +0000)]
Message.getaddrlist(): This now handles multiple occurances of the
named header, so that if a message has, e.g. multiple CC: lines, all
will get returned by the call to getaddrlist().  It also correctly
handles addresses which show up in continuation lines.

AdderlistClass.__init__(): Added \n to self.CR which fixes a bug that
sometimes, an address would contain a bogus trailing newline.

Message.getaddress(): In final else clause, added a test for the
character we're at being in self.specials.  Without this, such
characters never get consumed and we infloop.  Case in point (as
posted to c.l.py):

To: <[smtp:dd47@mail.xxx.edu]_at_hmhq@hdq-mdm1-imgout.companay.com>
----------------------------^
otherwise we'd infloop here

26 years agoSeveral new functions to re-write tables to be at least partly
Fred Drake [Thu, 14 Jan 1999 19:45:38 +0000 (19:45 +0000)]
Several new functions to re-write tables to be at least partly
conformant with the OASIS Exchange model.  There's a little more
massage left to do, but not much.

26 years agoShould include "Python.h", not <Python.h> -- it's not a standard
Guido van Rossum [Thu, 14 Jan 1999 19:31:42 +0000 (19:31 +0000)]
Should include "Python.h", not <Python.h> -- it's not a standard
header file (yet :-).

26 years agoJim Ahlstrom patch: Watcom chokes on a long expression in c_asinh().
Guido van Rossum [Thu, 14 Jan 1999 19:11:11 +0000 (19:11 +0000)]
Jim Ahlstrom patch: Watcom chokes on a long expression in c_asinh().
Break it up.

26 years agoJim Ahlstrom patch: the module doc string is too long for 16-bit VC
Guido van Rossum [Thu, 14 Jan 1999 19:07:00 +0000 (19:07 +0000)]
Jim Ahlstrom patch: the module doc string is too long for 16-bit VC
1.5.  Omit the second part.

26 years agoJim Ahlstrom patch: cutoff should be a long for machines with 16-bit
Guido van Rossum [Thu, 14 Jan 1999 19:01:53 +0000 (19:01 +0000)]
Jim Ahlstrom patch: cutoff should be a long for machines with 16-bit
ints.  (In theory, other variables should be widened to long as well,
but this won't ever be needed, since the len of a list is still an
int.)

26 years agoJim Ahlstrom patch: BIGCHUNK is too large for 16-bit int.
Guido van Rossum [Thu, 14 Jan 1999 19:00:14 +0000 (19:00 +0000)]
Jim Ahlstrom patch: BIGCHUNK is too large for 16-bit int.

26 years agoJim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).
Guido van Rossum [Thu, 14 Jan 1999 18:51:53 +0000 (18:51 +0000)]
Jim Ahlstrom added some SIZEOF defs for VC and WATCOM (only).

26 years agoAdded clean and clobber targets.
Fred Drake [Thu, 14 Jan 1999 18:26:23 +0000 (18:26 +0000)]
Added clean and clobber targets.

26 years agoUpdate to the latest version of Michael Ernst's script.
Fred Drake [Thu, 14 Jan 1999 18:17:07 +0000 (18:17 +0000)]
Update to the latest version of Michael Ernst's script.

26 years ago"Driver" makefile to convert all documents to SGML or XML at once.
Fred Drake [Thu, 14 Jan 1999 18:13:59 +0000 (18:13 +0000)]
"Driver" makefile to convert all documents to SGML or XML at once.

26 years agoAdd usage of the "driver" Makefile.
Fred Drake [Thu, 14 Jan 1999 18:12:33 +0000 (18:12 +0000)]
Add usage of the "driver" Makefile.

26 years agoElaborate a comment on the format of the table that drives the
Fred Drake [Thu, 14 Jan 1999 18:10:09 +0000 (18:10 +0000)]
Elaborate a comment on the format of the table that drives the
conversion.