]> granicus.if.org Git - python/log
python
24 years agoMore names...
Fred Drake [Tue, 7 Nov 2000 16:09:53 +0000 (16:09 +0000)]
More names...

24 years agoFix for SF bug #117606:
Greg Ward [Tue, 7 Nov 2000 15:44:21 +0000 (15:44 +0000)]
Fix for SF bug #117606:
  - when compiling with GCC on Solaris, use "$(CC) -shared" instead
    of "$(CC) -G" to generate .so files
  - when compiling with GCC on any platform, add "-fPIC" to OPT
    (without this, "$(CC) -shared" dies horribly)

24 years agoPatch #102278: add tparm() function to _curses module
Andrew M. Kuchling [Tue, 7 Nov 2000 03:35:24 +0000 (03:35 +0000)]
Patch #102278: add tparm() function to _curses module

24 years agoDocument the proper exception to be raised by I/O operations on closed
Fred Drake [Mon, 6 Nov 2000 20:17:37 +0000 (20:17 +0000)]
Document the proper exception to be raised by I/O operations on closed
files; error reported by Ng Pheng Siong <ngps@post1.com>.

Make sure that various special object attributes are properly indexed.

24 years agoThis fixes several bug reports concering memory bloating during large
Barry Warsaw [Mon, 6 Nov 2000 18:46:09 +0000 (18:46 +0000)]
This fixes several bug reports concering memory bloating during large
file uploads.

In response to SF bugs 110674 and 119806, and discussions on
python-dev, we are removing the self.lines attribute from the
FieldStorage class.  Specifically touched where methods __init__(),
read_lines_to_eof(), and skip_lines().

No one can remember why self.lines was added.  Technically, it's part
of the public interface for the class, but it was never documented.
It's possible clever or nosy code will break because of this, but it
was decided to remove it and see who complains.

This resolution also closes the second half of the cgi.py entry in PEP
42.  The first half of that PEP concerns specifically binary file
uploads, where there may be no end-of-line marker for a very long
time.  This patch does not address that issue.

24 years agoa few small optimizations that seem to give a 5-10% speedup; the
Jeremy Hylton [Mon, 6 Nov 2000 16:03:52 +0000 (16:03 +0000)]
a few small optimizations that seem to give a 5-10% speedup; the
further optimization of com_node makes the most difference.

24 years agomove pruneNext method to correct object (doh!)
Jeremy Hylton [Mon, 6 Nov 2000 03:47:39 +0000 (03:47 +0000)]
move pruneNext method to correct object (doh!)

24 years agoChange the graph structure to contain the code generator object for
Jeremy Hylton [Mon, 6 Nov 2000 03:43:11 +0000 (03:43 +0000)]
Change the graph structure to contain the code generator object for
embedded code objects (e.g. functions) rather than the generated code
object.  This change means that the compiler generates code for
everything at the end, rather then generating code for each function
as it finds it.  Implementation note: _convert_LOAD_CONST in
pyassem.py must be change to call getCode().

Other changes follow.  Several changes creates extra edges between
basic blocks to reflect control flow for loops and exceptions.  These
missing edges had gone unnoticed because they do not affect the
current compilation process.

pyassem.py:
    Add _enable_debug() and _disable_debug() methods that print
    instructions and blocks to stdout as they are generated.

    Add edges between blocks for instructions like SETUP_LOOP,
    FOR_LOOP, etc.

    Add pruneNext to get rid of bogus edges remaining after
    unconditional transfer ops (e.g. JUMP_FORWARD)

    Change repr of Block to omit block length.

pycodegen.py:
    Make sure a new block is started after FOR_LOOP, etc.

    Change assert implementation to use RAISE_VARARGS 1 when there is
    no user-specified failure output.

misc.py:
    Implement __contains__ and copy for Set.

24 years agoIf a function contains a doc string, remove the doc string node from
Jeremy Hylton [Mon, 6 Nov 2000 03:33:52 +0000 (03:33 +0000)]
If a function contains a doc string, remove the doc string node from
the function's body.

If assert is used without an error message, make the AST node None
rather than Name('None').

24 years agoApplication of [ Patch #102226 ] freeze/modulefinder.py should use _winreg, not win32api
Mark Hammond [Mon, 6 Nov 2000 02:49:27 +0000 (02:49 +0000)]
Application of [ Patch #102226 ] freeze/modulefinder.py should use _winreg, not win32api

24 years agoAdded 38,642 missing characters to the Unicode database (first-last
Fredrik Lundh [Fri, 3 Nov 2000 20:24:15 +0000 (20:24 +0000)]
Added 38,642 missing characters to the Unicode database (first-last
ranges) -- but thanks to the 2.0 compression scheme, this doesn't add
a single byte to the resulting binaries (!)

Closes bug #117524

24 years agoFix Makefile so at least it uses Python 2.0, and compiles out of the
Guido van Rossum [Fri, 3 Nov 2000 12:58:09 +0000 (12:58 +0000)]
Fix Makefile so at least it uses Python 2.0, and compiles out of the
box on Linux.

24 years agoMove our own getopt() implementation to _PyOS_GetOpt(), and use it
Thomas Wouters [Fri, 3 Nov 2000 08:18:37 +0000 (08:18 +0000)]
Move our own getopt() implementation to _PyOS_GetOpt(), and use it
regardless of whether the system getopt() does what we want. This avoids the
hassle with prototypes and externs, and the check to see if the system
getopt() does what we want. Prefix optind, optarg and opterr with _PyOS_ to
avoid name clashes. Add new include file to define the right symbols. Fix
Demo/pyserv/pyserv.c to include getopt.h itself, instead of relying on
Python to provide it.

24 years agoMake sure we clean up the index data each time it is written by LaTeX.
Fred Drake [Fri, 3 Nov 2000 02:57:31 +0000 (02:57 +0000)]
Make sure we clean up the index data each time it is written by LaTeX.

24 years agoFix cut & paste error that describes three paramters when there are only
Fred Drake [Thu, 2 Nov 2000 21:49:17 +0000 (21:49 +0000)]
Fix cut & paste error that describes three paramters when there are only
two [bug #119729].

Update use of distutils.sysconfig that "broke" when Greg W. changed the API
[bug #119645].

24 years agoNew configure script from latest configure.in with autoconf 2.13
Guido van Rossum [Thu, 2 Nov 2000 19:33:53 +0000 (19:33 +0000)]
New configure script from latest configure.in with autoconf 2.13

24 years agoMake sure the Modules/ directory is created before writing Modules/Setup.
Fred Drake [Thu, 2 Nov 2000 17:52:56 +0000 (17:52 +0000)]
Make sure the Modules/ directory is created before writing Modules/Setup.

24 years agoPatch from Randall Hopper to fix PR #116172, "curses module fails to
Andrew M. Kuchling [Wed, 1 Nov 2000 19:59:12 +0000 (19:59 +0000)]
Patch from Randall Hopper to fix PR #116172, "curses module fails to
build on SGI":
* Check for 'sgi' preprocessor symbol, not '__sgi__'
* Surround individual character macros with #ifdef's, instead of making them
  all rely on STRICT_SYSV_CURSES

24 years agoTypo: writeable --> writable
Fred Drake [Wed, 1 Nov 2000 03:12:34 +0000 (03:12 +0000)]
Typo:  writeable --> writable
Reported by Erno Kuusela <erno@iki.fi>.

24 years agoHack ndiff to display lines w/ leading tabs more intuitively. This synchs
Tim Peters [Wed, 1 Nov 2000 02:51:27 +0000 (02:51 +0000)]
Hack ndiff to display lines w/ leading tabs more intuitively.  This synchs
ndiff w/ a custom version I made for Guido during the pre-2.0 freeze.

24 years agotrack recent change to test_extcall.py
Jeremy Hylton [Mon, 30 Oct 2000 19:41:33 +0000 (19:41 +0000)]
track recent change to test_extcall.py

24 years agoHack to force -lpthread instead instead of -lcma on HPUX, by Philipp
Guido van Rossum [Mon, 30 Oct 2000 17:45:07 +0000 (17:45 +0000)]
Hack to force -lpthread instead instead of -lcma on HPUX, by Philipp
Jocham.  Philipp asks: "Are there any success stories with HP-UX 11.00
and -lcma?  Maybe libcma is broken."

24 years agoFix for SF bug #117241
Jeremy Hylton [Mon, 30 Oct 2000 17:15:20 +0000 (17:15 +0000)]
Fix for SF bug #117241

When a method is called with no regular arguments and * args, defer
the first arg is subclass check until after the * args have been
expanded.

N.B. The CALL_FUNCTION implementation is getting really hairy; should
review it to see if it can be simplified.

24 years agodefine_module(): Change the "index sub-item" for definitions at module
Fred Drake [Mon, 30 Oct 2000 06:24:56 +0000 (06:24 +0000)]
define_module():  Change the "index sub-item" for definitions at module
                  scope to be " (in module <name>)" instead of
                  " (in <name>)" to be consistent with \withsubitem
                  usage throughout the documentation.  This achieves
                  consistency in indexing throughout the documentation.

24 years agoFix \withsubitem so that it actually works if the only indexing macro in
Fred Drake [Mon, 30 Oct 2000 06:22:22 +0000 (06:22 +0000)]
Fix \withsubitem so that it actually works if the only indexing macro in
the content body is the \ttindex macro, which seems to match actual usage.

Adjust \funcline to restore the "index sub-item" for functions to be
" (in module <name>)" instead of " (in <name>)".  This is need to match
uses of \withsubitem throughout the documentation.  (Not ideal, but
gets achieves consistency.)

24 years agoRevise the message to be a little nicer.
Fred Drake [Sun, 29 Oct 2000 13:21:45 +0000 (13:21 +0000)]
Revise the message to be a little nicer.

Have the mail sent to the python-dev and Doc-SIG lists.

24 years agoAvoid using \withsubitem and \ttindex internally; they have not proven
Fred Drake [Sun, 29 Oct 2000 05:19:16 +0000 (05:19 +0000)]
Avoid using \withsubitem and \ttindex internally; they have not proven
to be very robust.  Using \index directly fixes a lot of entries in the
index that had to be specifically read to determine that they had the
wrong parenthesized description.

24 years agoMany small markup revisions to be more consistent with markup elsewhere,
Fred Drake [Sun, 29 Oct 2000 05:10:30 +0000 (05:10 +0000)]
Many small markup revisions to be more consistent with markup elsewhere,
and to provide more consistent indexing.

Added an index entry.

Added documentation for the error and XMLParserType objects.

24 years agoParserCreate(): Added test that the namespace_separator value, if given,
Fred Drake [Sun, 29 Oct 2000 04:57:53 +0000 (04:57 +0000)]
ParserCreate():  Added test that the namespace_separator value, if given,
                 has the required length.

initpyexpat():  Provide the type object for the ParserCreate() return
                value as XMLParserType.

24 years agoDo not echo the echo command with the message telling the user that Setup
Fred Drake [Sun, 29 Oct 2000 04:28:48 +0000 (04:28 +0000)]
Do not echo the echo command with the message telling the user that Setup
may be out of date.

24 years agoDo not release unallocated Tcl objects. Closes #117278 and #117167.
Martin v. Löwis [Sun, 29 Oct 2000 00:44:43 +0000 (00:44 +0000)]
Do not release unallocated Tcl objects. Closes #117278 and  #117167.

24 years ago-- properly reset groups in findall (bug #117612)
Fredrik Lundh [Sat, 28 Oct 2000 19:30:41 +0000 (19:30 +0000)]
-- properly reset groups in findall (bug #117612)

-- fixed negative lookbehind to work correctly at the beginning
of the target string (bug #117242)

-- improved syntax check; you can no longer refer to a group
inside itself (bug #110866)

24 years agoUpdate author information.
Fred Drake [Sat, 28 Oct 2000 04:08:38 +0000 (04:08 +0000)]
Update author information.

24 years ago(py-goto-beginning-of-tqs): When searching backwards for the matching
Barry Warsaw [Fri, 27 Oct 2000 05:00:25 +0000 (05:00 +0000)]
(py-goto-beginning-of-tqs): When searching backwards for the matching
delimiter, watch out for backslash escaped delimiters.  Also use =
instead of eq for character comparison (because a character is = to
it's integer value, but not eq to it).

24 years agoAdded the -D/--docstrings option for extraction of unmarked module,
Barry Warsaw [Fri, 27 Oct 2000 04:56:28 +0000 (04:56 +0000)]
Added the -D/--docstrings option for extraction of unmarked module,
class, method, and function docstrings.

24 years agoExplained that os.path.basename() may return something different from the
Fred Drake [Thu, 26 Oct 2000 21:38:23 +0000 (21:38 +0000)]
Explained that os.path.basename() may return something different from the
basename program, as suggested by Gregor Hoffleit <gregor@hoffleit.de>.

This closes bug #119485.

24 years agoDo not require packages that are not needed.
Fred Drake [Thu, 26 Oct 2000 21:13:22 +0000 (21:13 +0000)]
Do not require packages that are not needed.

24 years agoNormalize the HTML generated for table headers.
Fred Drake [Thu, 26 Oct 2000 20:14:58 +0000 (20:14 +0000)]
Normalize the HTML generated for table headers.

24 years agoMinor simplification.
Fred Drake [Thu, 26 Oct 2000 20:01:09 +0000 (20:01 +0000)]
Minor simplification.

24 years agoUpdate the dependency information to allow the other Makefiles to handle
Fred Drake [Thu, 26 Oct 2000 19:26:47 +0000 (19:26 +0000)]
Update the dependency information to allow the other Makefiles to handle
as much of this as possible.  Avoids propogating information about how
various outputs relate (or don't!).

24 years agoNoted that building the info version requires the HTML::Element package,
Fred Drake [Thu, 26 Oct 2000 19:01:46 +0000 (19:01 +0000)]
Noted that building the info version requires the HTML::Element package,
and provided instructions for getting it installed.

24 years agoAll acknowledgements have been moved to the Doc/ACKS file.
Fred Drake [Thu, 26 Oct 2000 17:19:58 +0000 (17:19 +0000)]
All acknowledgements have been moved to the Doc/ACKS file.

Adjusted to reflect the rename of Setup.in to Setup.dist.

Added pointer to the "Distributing Python Modules" manual in the
appropriate place.

24 years agoUpdate build instructions to reflect the rename from Setup.in to Setup.dist.
Fred Drake [Thu, 26 Oct 2000 17:13:19 +0000 (17:13 +0000)]
Update build instructions to reflect the rename from Setup.in to Setup.dist.
Clarify when this file is created automatically and do not advocate
creating it unless needed.

Explain that Setup never gets overwritten.

24 years agoTest for and create Modules/Setup in the configure script if it does not
Fred Drake [Thu, 26 Oct 2000 17:09:35 +0000 (17:09 +0000)]
Test for and create Modules/Setup in the configure script if it does not
already exist.

24 years agoRename Setup.in to Setup.dist, and assume that configure will create
Fred Drake [Thu, 26 Oct 2000 17:07:40 +0000 (17:07 +0000)]
Rename Setup.in to Setup.dist, and assume that configure will create
Setup (instead of creating it from the Makefile).

24 years agoLots of small markup adjustments for consistency with the rest of the
Fred Drake [Thu, 26 Oct 2000 16:41:03 +0000 (16:41 +0000)]
Lots of small markup adjustments for consistency with the rest of the
documentation.

24 years agoUpdate a comment to be correct.
Fred Drake [Thu, 26 Oct 2000 14:57:29 +0000 (14:57 +0000)]
Update a comment to be correct.

24 years agoRemove bogus stdout redirection and use of sys.__stdout__; use
Fred Drake [Thu, 26 Oct 2000 03:56:46 +0000 (03:56 +0000)]
Remove bogus stdout redirection and use of sys.__stdout__; use
augmented print statement instead.

24 years agoRemove bogus stdout redirection and use of sys.__stdout__; use
Fred Drake [Thu, 26 Oct 2000 03:49:15 +0000 (03:49 +0000)]
Remove bogus stdout redirection and use of sys.__stdout__; use
augmented print statement instead.

24 years agoTypo: shorted --> shorter
Fred Drake [Wed, 25 Oct 2000 23:22:54 +0000 (23:22 +0000)]
Typo:  shorted --> shorter
This closes bug #117706.

24 years agoPatch 102114, Bug 11725. On OpenBSD (but apparently not on the other
Guido van Rossum [Wed, 25 Oct 2000 22:07:45 +0000 (22:07 +0000)]
Patch 102114, Bug 11725.  On OpenBSD (but apparently not on the other
BSDs) you need a leading underscore in the dlsym() lookup name.

24 years agoFix two typos in __imul__. Closes Bug #117745.
Guido van Rossum [Wed, 25 Oct 2000 21:58:20 +0000 (21:58 +0000)]
Fix two typos in __imul__.  Closes Bug #117745.

24 years agoAdd IDLE wish: access items of arrays
Guido van Rossum [Wed, 25 Oct 2000 21:18:12 +0000 (21:18 +0000)]
Add IDLE wish: access items of arrays

24 years agoSince LookupError can be raised by sys.setdefaultencoding(), we should not
Fred Drake [Wed, 25 Oct 2000 21:05:29 +0000 (21:05 +0000)]
Since LookupError can be raised by sys.setdefaultencoding(), we should not
document it as only being a base class, not matter how unlikely this is
to affect normal users.

24 years agoMarc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method
Fred Drake [Wed, 25 Oct 2000 21:03:55 +0000 (21:03 +0000)]
Marc-Andre Lemburg <mal@lemburg.com> noted that the encode() string method
was added in 2.0.

24 years agoAdditions from Marc-Andre Lemburg <mal@lemburg.com>, documenting
Fred Drake [Wed, 25 Oct 2000 21:02:55 +0000 (21:02 +0000)]
Additions from Marc-Andre Lemburg <mal@lemburg.com>, documenting
getdefaultencoding() and setdefaultencoding().

24 years agoSeveral additions and updates based on text from Marc-Andre Lemburg
Fred Drake [Wed, 25 Oct 2000 20:59:52 +0000 (20:59 +0000)]
Several additions and updates based on text from Marc-Andre Lemburg
<mal@lemburg.com>.

Lots of markup reformatting to make it easier for me to read & maintain.

24 years agoMany changes.
Jeremy Hylton [Wed, 25 Oct 2000 18:10:32 +0000 (18:10 +0000)]
Many changes.

Reformatting -- long lines, "[ ]" -> "[]", a few indentation nits.

Replace calls to Node function (which constructed ast nodes) with
calls to actual constructors imported from ast module.

Optimize com_node (most frequently used method) for the common case --
the appropriate method is found in _dispatch.

Fix com_augassign to use class object's rather than node names
(rendered invalid by recent changes to ast)

Remove expensive tests for sequence-ness in com_stmt and
com_append_stmt. These tests should never fail; if they do, something
is really broken and exception will be raised elsewhere.

Fix com_stmt and com_append_stmt to use isinstance rather than
testing's type slot of ast node (this slot disappeared with recent
changes to ast).

24 years agoGenerated from rev 1.1 of ast.txt
Jeremy Hylton [Wed, 25 Oct 2000 18:02:59 +0000 (18:02 +0000)]
Generated from rev 1.1 of ast.txt

24 years agoSmall optimizations in dispatch method: 1) lookup node's __class__ once
Jeremy Hylton [Wed, 25 Oct 2000 18:02:02 +0000 (18:02 +0000)]
Small optimizations in dispatch method: 1) lookup node's __class__ once
and store in local; 2) define _preorder to be dispatch (rather than
method that called dispatch).

24 years agoSupport for generation of ast.py from simple description of node
Jeremy Hylton [Wed, 25 Oct 2000 17:59:17 +0000 (17:59 +0000)]
Support for generation of ast.py from simple description of node
structure (ast.txt).  Usage is python astgen.py > ast.py.

24 years agoTry to clarify when the Modules/Setup file should be edited. Added
Fred Drake [Wed, 25 Oct 2000 17:51:02 +0000 (17:51 +0000)]
Try to clarify when the Modules/Setup file should be edited.  Added
information about the --with-pydebug option to configure.

This closes bug #117070.

24 years agoAlso point TK_LIBRARY to the appropriate directory.
Guido van Rossum [Wed, 25 Oct 2000 17:42:13 +0000 (17:42 +0000)]
Also point TK_LIBRARY to the appropriate directory.
Changed the landmark to tclIndex, which should occur in both.

24 years agoRename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
Fred Drake [Wed, 25 Oct 2000 16:18:10 +0000 (16:18 +0000)]
Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
whatever is being documented, not necessarily Python.  (These tools are
also used for the How-To documents, etc.)

get_version_text():  New function.  Returns HTML fragment describing the
        software version and documentation date.

bot_navigation_panel():  Include the result of get_version_text() at the
        end, so the information is available on every page.

24 years agoRename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
Fred Drake [Wed, 25 Oct 2000 16:15:13 +0000 (16:15 +0000)]
Rename $PYTHON_VERSION to $PACKAGE_VERSION; this is the version number for
whatever is being documented, not necessarily Python.  (These tools are
also used for the How-To documents, etc.)

24 years agoRemove some HTML from the PYTHONDOCS fragment defined here.
Fred Drake [Wed, 25 Oct 2000 16:12:04 +0000 (16:12 +0000)]
Remove some HTML from the PYTHONDOCS fragment defined here.

24 years agoMinor addition; add a little formatting to the release information that
Fred Drake [Wed, 25 Oct 2000 16:10:46 +0000 (16:10 +0000)]
Minor addition; add a little formatting to the release information that
will be added to Doc/perl/l2hinit.perl shortly.

24 years agoMake this actually work now that the tool is checked in here instead of
Fred Drake [Tue, 24 Oct 2000 19:59:55 +0000 (19:59 +0000)]
Make this actually work now that the tool is checked in here instead of
just sitting around in my working directory.

24 years agoKa-Ping Yee <ping@lfw.org>:
Fred Drake [Tue, 24 Oct 2000 19:57:45 +0000 (19:57 +0000)]
Ka-Ping Yee <ping@lfw.org>:
Changes to error messages to increase consistency & clarity.

This (mostly) closes SourceForge patch #101839.

24 years agoInsert the current directory to the front of sys.path -- and remove it
Guido van Rossum [Tue, 24 Oct 2000 17:16:32 +0000 (17:16 +0000)]
Insert the current directory to the front of sys.path -- and remove it
at the end.  This fixes a problem where

python Lib/test/test_import.py

failed while "make test" succeeded.

24 years agoAdded a test case for the saxutils.prepare_input_source setSystemId bug.
Lars Gustäbel [Tue, 24 Oct 2000 16:00:22 +0000 (16:00 +0000)]
Added a test case for the saxutils.prepare_input_source setSystemId bug.

24 years agoFix bug in prepare_input_source (patched by Paul P., sourceforge.net down
Lars Gustäbel [Tue, 24 Oct 2000 15:53:12 +0000 (15:53 +0000)]
Fix bug in prepare_input_source (patched by Paul P., sourceforge.net down
now, so can't find number).

24 years agoUpdated output.
Lars Gustäbel [Tue, 24 Oct 2000 15:36:28 +0000 (15:36 +0000)]
Updated output.

24 years agoAdded some more tests here and there.
Lars Gustäbel [Tue, 24 Oct 2000 15:35:07 +0000 (15:35 +0000)]
Added some more tests here and there.

24 years agoAdded entries for the xml.dom.minidom module.
Fred Drake [Tue, 24 Oct 2000 02:35:42 +0000 (02:35 +0000)]
Added entries for the xml.dom.minidom module.

24 years agoPaul Prescod <paul@prescod.net>:
Fred Drake [Tue, 24 Oct 2000 02:34:45 +0000 (02:34 +0000)]
Paul Prescod <paul@prescod.net>:
Documentation for the xml.dom.minidom module & Python DOM API.

FLD:  I have revised the markup in some places and added a few minor
details to Paul's text, but that's it.  Given the substantial
structural differences with the bulk of the presentation, I will be
making additional revisions over the next few days.

24 years agoRemove second horizontal line below table headers; it is just too
Fred Drake [Tue, 24 Oct 2000 02:18:30 +0000 (02:18 +0000)]
Remove second horizontal line below table headers; it is just too
distracting.

24 years agoRemove some obsolete files, and update the README.
Fred Drake [Mon, 23 Oct 2000 20:50:23 +0000 (20:50 +0000)]
Remove some obsolete files, and update the README.

24 years agoMake reindent.py happy (convert everything to 4-space indents!).
Fred Drake [Mon, 23 Oct 2000 18:31:14 +0000 (18:31 +0000)]
Make reindent.py happy (convert everything to 4-space indents!).

24 years agoMake reindent.py happy (lots of trailing whitespace removed).
Fred Drake [Mon, 23 Oct 2000 18:09:50 +0000 (18:09 +0000)]
Make reindent.py happy (lots of trailing whitespace removed).

24 years agoMake reindent happy, but not in the way it planned!
Fred Drake [Mon, 23 Oct 2000 17:30:23 +0000 (17:30 +0000)]
Make reindent happy, but not in the way it planned!

24 years agoMake reindent.py happy (convert everything to 4-space indents!).
Fred Drake [Mon, 23 Oct 2000 17:22:08 +0000 (17:22 +0000)]
Make reindent.py happy (convert everything to 4-space indents!).

24 years agoUse 4-space indents.
Fred Drake [Mon, 23 Oct 2000 17:00:30 +0000 (17:00 +0000)]
Use 4-space indents.

24 years agoClean up the temporary file when done with it.
Fred Drake [Mon, 23 Oct 2000 16:59:35 +0000 (16:59 +0000)]
Clean up the temporary file when done with it.

24 years agoMake sure the temporary file is cleaned up even when we raise TestSkipped.
Fred Drake [Mon, 23 Oct 2000 16:38:20 +0000 (16:38 +0000)]
Make sure the temporary file is cleaned up even when we raise TestSkipped.

24 years agoAdded note saying to use test_support.TESTFN for a temporary filename,
Fred Drake [Mon, 23 Oct 2000 16:37:14 +0000 (16:37 +0000)]
Added note saying to use test_support.TESTFN for a temporary filename,
and be clear that you need to clean it up when done.

24 years agoAdded exception to the rule that the buffer returned by PyString_AsString()
Fred Drake [Mon, 23 Oct 2000 16:00:54 +0000 (16:00 +0000)]
Added exception to the rule that the buffer returned by PyString_AsString()
and PyString_AsStringAndSize() for strings that were just created using
PyString_FromStringAndSize(NULL, n).

This closes bug #117377.

Added warning about passing NULL to the concrete object functions; many of
them use the appropriate Py<Type>_Check() test, but do not check for NULL.

"de-allocated" --> "deallocated"

24 years agoCorrect the name of a parameter in the description of the register()
Fred Drake [Mon, 23 Oct 2000 15:41:13 +0000 (15:41 +0000)]
Correct the name of a parameter in the description of the register()
function.

This closes bug #117467.

24 years agoAdded test for regression on SourceForge bug #117490.
Fred Drake [Mon, 23 Oct 2000 13:39:15 +0000 (13:39 +0000)]
Added test for regression on SourceForge bug #117490.

24 years agoMaildir.__init__(): Make sure self.boxes is set.
Fred Drake [Mon, 23 Oct 2000 13:37:01 +0000 (13:37 +0000)]
Maildir.__init__():  Make sure self.boxes is set.

This closes SourceForge bug #117490.

24 years agostruct.pack has become picky about h (short) and H (unsigned short).
Jack Jansen [Sun, 22 Oct 2000 21:59:23 +0000 (21:59 +0000)]
struct.pack has become picky about h (short) and H (unsigned short).

24 years agoUpdated because developer option isn't distributed separately anymore.
Jack Jansen [Sun, 22 Oct 2000 21:57:12 +0000 (21:57 +0000)]
Updated because developer option isn't distributed separately anymore.

24 years agoRemoved, no longer pertinent.
Jack Jansen [Sun, 22 Oct 2000 21:55:03 +0000 (21:55 +0000)]
Removed, no longer pertinent.

24 years agoFinal version used for 2.0 distribution.
Jack Jansen [Sun, 22 Oct 2000 21:54:33 +0000 (21:54 +0000)]
Final version used for 2.0 distribution.

24 years agoMore names.
Fred Drake [Sun, 22 Oct 2000 03:23:58 +0000 (03:23 +0000)]
More names.

24 years agoAdded missing entry for invert() function.
Fred Drake [Sun, 22 Oct 2000 03:19:30 +0000 (03:19 +0000)]
Added missing entry for invert() function.

Added table mapping abstract operations to syntax to functions, based on
a suggestion from Bob Weiner <weiner@beopen.com>.

24 years agoMinor tweaks to catch up with the current code in a few spots.
Greg Ward [Sun, 22 Oct 2000 01:40:08 +0000 (01:40 +0000)]
Minor tweaks to catch up with the current code in a few spots.
Wrote the "Distutils Configuration Files" section.

24 years agoFlesh out the "LaTeX Primer" some more.
Fred Drake [Fri, 20 Oct 2000 20:51:31 +0000 (20:51 +0000)]
Flesh out the "LaTeX Primer" some more.

24 years agot_bootstram(): Use PySys_WriteStderr() instead of fprintf(stderr,...).
Fred Drake [Fri, 20 Oct 2000 20:02:37 +0000 (20:02 +0000)]
t_bootstram():  Use PySys_WriteStderr() instead of fprintf(stderr,...).

This closes bug #117324.

24 years agomore edits to make the text fit (jvr)
Just van Rossum [Fri, 20 Oct 2000 07:49:00 +0000 (07:49 +0000)]
more edits to make the text fit (jvr)