]> granicus.if.org Git - python/log
python
24 years agoMake ConfigParser.Error inherit from Exception.
Fred Drake [Mon, 11 Dec 2000 18:13:19 +0000 (18:13 +0000)]
Make ConfigParser.Error inherit from Exception.

24 years agoselect.select(): Add note that though this function accepts empty lists,
Fred Drake [Mon, 11 Dec 2000 15:50:07 +0000 (15:50 +0000)]
select.select():  Add note that though this function accepts empty lists,
                  using *only* empty lists may not be acceptable on all
                  platforms, with the specific caveat that it does not
                  work on Windows.  Also clarified list of acceptable
                  objects that may be in the lists, to let the user know
                  that file objects are not usable here on Windows.

24 years agoAdapted to Universal Headers 3.3.2. More to follow.
Jack Jansen [Sun, 10 Dec 2000 23:43:49 +0000 (23:43 +0000)]
Adapted to Universal Headers 3.3.2. More to follow.

24 years ago(Patch #102698) Fix for a bug reported by Wade Leftwich:
Andrew M. Kuchling [Sun, 10 Dec 2000 15:12:14 +0000 (15:12 +0000)]
(Patch #102698) Fix for a bug reported by Wade Leftwich:
StreamReader ignores the 'errors' parameter passed to its constructor

24 years agoSF bug 124051: ndiff "?" lines can be confusing. Well, they still can, but
Tim Peters [Sat, 9 Dec 2000 05:03:22 +0000 (05:03 +0000)]
SF bug 124051:  ndiff "?" lines can be confusing.  Well, they still can, but
after implementing it I liked Gregor's two-"?" line idea a lot.

24 years agoLots of small improvements and bits of added information on the DOM API.
Fred Drake [Fri, 8 Dec 2000 06:54:51 +0000 (06:54 +0000)]
Lots of small improvements and bits of added information on the DOM API.

24 years agoFix error noted by Gerrit Holl (old; had been buried in my INBOX):
Fred Drake [Thu, 7 Dec 2000 04:54:02 +0000 (04:54 +0000)]
Fix error noted by Gerrit Holl (old; had been buried in my INBOX):
sequence repitition works just fine with long integers now, so we
should not say that only plain integers are allowed.

24 years agoAdded a note that objects which emulate built-in types should only
Fred Drake [Thu, 7 Dec 2000 04:49:34 +0000 (04:49 +0000)]
Added a note that objects which emulate built-in types should only
implement as many of the relevant methods as make sense for the particular
information being modelled.

24 years agoLots of additional information. Not done, but much better.
Fred Drake [Thu, 7 Dec 2000 04:47:51 +0000 (04:47 +0000)]
Lots of additional information.  Not done, but much better.

24 years agoAnother name!
Fred Drake [Thu, 7 Dec 2000 00:06:46 +0000 (00:06 +0000)]
Another name!

24 years agoTypo caught by Jim Tittsler <jwt@onjapan.net>: They --> The
Fred Drake [Thu, 7 Dec 2000 00:03:24 +0000 (00:03 +0000)]
Typo caught by Jim Tittsler <jwt@onjapan.net>:  They --> The

24 years agoNote that, as of Python 1.6, the .returns_unicode attribute on parser
Fred Drake [Thu, 7 Dec 2000 00:00:21 +0000 (00:00 +0000)]
Note that, as of Python 1.6, the .returns_unicode attribute on parser
objects can be modified at any point with the expected results.

24 years agoThe C+ compiler is called $(CXX) these days, not CCC.
Guido van Rossum [Wed, 6 Dec 2000 23:46:29 +0000 (23:46 +0000)]
The C+ compiler is called $(CXX) these days, not CCC.
This fixes SF Bug #124478.

24 years agoFix `credits' to credit the Jython developers when running under that
Barry Warsaw [Wed, 6 Dec 2000 22:20:07 +0000 (22:20 +0000)]
Fix `credits' to credit the Jython developers when running under that
interpreter.  Update and reword the credits for CPython.  Closes SF
patch #102665.

24 years ago_getframe(): New sys module function for getting at the stack frame.
Barry Warsaw [Wed, 6 Dec 2000 21:47:46 +0000 (21:47 +0000)]
_getframe(): New sys module function for getting at the stack frame.
Implements and closes SF patch #102106, with Guido's suggested
documentation changes.

24 years agoposix_getlogin(): Be more cautious about interpreting a NULL from
Fred Drake [Wed, 6 Dec 2000 21:45:33 +0000 (21:45 +0000)]
posix_getlogin():  Be more cautious about interpreting a NULL from
                   getlogin() -- it is not clear that a NULL is always
                   an error.

24 years agoposix_getlogin(): Handle the possibility that getlogin() can return
Fred Drake [Wed, 6 Dec 2000 21:24:28 +0000 (21:24 +0000)]
posix_getlogin():  Handle the possibility that getlogin() can return
                   NULL without setting errno; observed on Linux
                   Mandrake 7.2 by an anonymous user.

This closes bug #124758.

24 years agoJeffrey D. Collins <tokeneater@users.sourceforge.net>:
Fred Drake [Wed, 6 Dec 2000 14:27:49 +0000 (14:27 +0000)]
Jeffrey D. Collins <tokeneater@users.sourceforge.net>:
Fix type of the self parameter to some string object methods.

This closes patch #102670.

24 years agoTwo changes:
Sjoerd Mullender [Wed, 6 Dec 2000 10:37:57 +0000 (10:37 +0000)]
Two changes:
- Use new Error class (subclass of RuntimeError so is backward
  compatible) which is raised when RuntimeError used to be raised.
- Report original attribute name in error messages instead of name
  mangled with namespace URL.

24 years agoTwo typos caught by /F; thanks!
Fred Drake [Mon, 4 Dec 2000 22:29:17 +0000 (22:29 +0000)]
Two typos caught by /F; thanks!

24 years agoAdded a comment for ContentHandler.characters() explaining how to migrate
Fred Drake [Mon, 4 Dec 2000 22:04:15 +0000 (22:04 +0000)]
Added a comment for ContentHandler.characters() explaining how to migrate
SAX1 code to SAX2, based on bug #123695.

24 years agoAdd test cases for ConfigParser.remove_option() behavior. This includes
Fred Drake [Mon, 4 Dec 2000 16:30:40 +0000 (16:30 +0000)]
Add test cases for ConfigParser.remove_option() behavior.  This includes
coverage to ensure bug #124324 does not re-surface.

24 years agoremove_option(): Use the right variable name for the option name!
Fred Drake [Mon, 4 Dec 2000 16:29:13 +0000 (16:29 +0000)]
remove_option():  Use the right variable name for the option name!

This closes bug #124324.

24 years agoMake isinstance() more permissive in what types of arguments it
Neil Schemenauer [Mon, 4 Dec 2000 15:42:11 +0000 (15:42 +0000)]
Make isinstance() more permissive in what types of arguments it
accepts. Clarify exception messages for isinstance() and
issubclass().  Closes bug #124106.

24 years agoUpdated for the current state of the main Python source tree.
Jack Jansen [Sun, 3 Dec 2000 22:43:45 +0000 (22:43 +0000)]
Updated for the current state of the main Python source tree.

24 years agoThese have been replaced by the new generated projects.
Jack Jansen [Sun, 3 Dec 2000 22:43:05 +0000 (22:43 +0000)]
These have been replaced by the new generated projects.

24 years agoThe new generated plugin projects. Checked in in XML form, so cvs diffs should work.
Jack Jansen [Sun, 3 Dec 2000 22:41:57 +0000 (22:41 +0000)]
The new generated plugin projects. Checked in in XML form, so cvs diffs should work.

24 years agoAdded an extraexportsymbols option, to allow (you guessed it:-) extra export symbols...
Jack Jansen [Sun, 3 Dec 2000 22:39:09 +0000 (22:39 +0000)]
Added an extraexportsymbols option, to allow (you guessed it:-) extra export symbols to be specified.

24 years agoAllow recursive searh entries by ending the pathname in ":*".
Jack Jansen [Sun, 3 Dec 2000 22:38:34 +0000 (22:38 +0000)]
Allow recursive searh entries by ending the pathname in ":*".

24 years agoDon't generate SYM files by default.
Jack Jansen [Sun, 3 Dec 2000 22:37:32 +0000 (22:37 +0000)]
Don't generate SYM files by default.

24 years agoUpdated for the new project names.
Jack Jansen [Sun, 3 Dec 2000 22:36:42 +0000 (22:36 +0000)]
Updated for the new project names.

24 years agoGot it working for all important plugins, and moved it from Build to scripts.
Jack Jansen [Sun, 3 Dec 2000 22:31:50 +0000 (22:31 +0000)]
Got it working for all important plugins, and moved it from Build to scripts.

24 years agoCall of _cmp had wrong number of paramereters.
Moshe Zadka [Sun, 3 Dec 2000 20:48:07 +0000 (20:48 +0000)]
Call of _cmp had wrong number of paramereters.
Fixed definition of _cmp.

24 years agoConvert Unicode strings to byte strings before passing them into specific
Martin v. Löwis [Sun, 3 Dec 2000 18:30:10 +0000 (18:30 +0000)]
Convert Unicode strings to byte strings before passing them into specific
protocols. Closes bug #119822.

24 years agoUpdate Moshe Zadka's email address to one works and might last a while.
Fred Drake [Fri, 1 Dec 2000 15:25:23 +0000 (15:25 +0000)]
Update Moshe Zadka's email address to one works and might last a while.

24 years agoPatch by Michael Hudson to clarify the error message from
Guido van Rossum [Fri, 1 Dec 2000 13:13:11 +0000 (13:13 +0000)]
Patch by Michael Hudson to clarify the error message from
getsockaddrarg when the address is not a tuple.

24 years agoClarified some of the error messages, esp. "read-only character
Guido van Rossum [Fri, 1 Dec 2000 12:59:05 +0000 (12:59 +0000)]
Clarified some of the error messages, esp. "read-only character
buffer" replaced by "string or read-only character buffer".

24 years agoMade the description of %[udxXo] formats of negative longs in 2.1 more accurate.
Tim Peters [Fri, 1 Dec 2000 07:59:35 +0000 (07:59 +0000)]
Made the description of %[udxXo] formats of negative longs in 2.1 more accurate.
I suggested to Guido that %u be deprecated (it seems useless in Python to me).

24 years agoBacking out my changes.
Moshe Zadka [Thu, 30 Nov 2000 19:30:21 +0000 (19:30 +0000)]
Backing out my changes.
Improved version coming soon to a Source Forge near you!

24 years agoOnly use getline() when compiling using glibc
Andrew M. Kuchling [Thu, 30 Nov 2000 18:27:50 +0000 (18:27 +0000)]
Only use getline() when compiling using glibc

24 years agoAdded .first{item,value,key}() to dictionaries.
Moshe Zadka [Thu, 30 Nov 2000 12:31:03 +0000 (12:31 +0000)]
Added .first{item,value,key}() to dictionaries.
Complete with docos and tests.
OKed by Guido.

24 years agoAdjust to allow an explanation of the changes to be included in the
Fred Drake [Thu, 30 Nov 2000 07:38:59 +0000 (07:38 +0000)]
Adjust to allow an explanation of the changes to be included in the
notification message.

24 years agoA few small refinements to the table building code.
Fred Drake [Thu, 30 Nov 2000 07:17:27 +0000 (07:17 +0000)]
A few small refinements to the table building code.

24 years agoUse a table to describe the keys to the locale information dictionary;
Fred Drake [Thu, 30 Nov 2000 07:13:58 +0000 (07:13 +0000)]
Use a table to describe the keys to the locale information dictionary;
this is slightly easier to read than the list environment that had been
used.

24 years agoUse small tables instead of bare \item markers to describe the contents
Fred Drake [Thu, 30 Nov 2000 07:12:54 +0000 (07:12 +0000)]
Use small tables instead of bare \item markers to describe the contents
of return tuples.  The bare \item took advantage of an implementation
detail when formatting in LaTeX, and was just wrong when generating HTML.
It also broke the XML conversion scripts, since there was no enclosing
list-like environment to contain them.

24 years agoAdded name.
Fred Drake [Thu, 30 Nov 2000 07:09:59 +0000 (07:09 +0000)]
Added name.

24 years agoFox for SF bug #123859: %[duxXo] long formats inconsistent.
Tim Peters [Thu, 30 Nov 2000 05:22:44 +0000 (05:22 +0000)]
Fox for SF bug #123859: %[duxXo] long formats inconsistent.

24 years agoClarify two comments
Andrew M. Kuchling [Thu, 30 Nov 2000 01:57:18 +0000 (01:57 +0000)]
Clarify two comments

24 years agoIn the first discussion showing how to handle exceptions from C, make the
Fred Drake [Wed, 29 Nov 2000 15:48:22 +0000 (15:48 +0000)]
In the first discussion showing how to handle exceptions from C, make the
Python equivalent actually equivalent to the C code.  Also, in the C code,
place the "goto" statements on a line by themselves for better visibility
of statements that affect control flow.

This closes bug #123398.

24 years agoSlight improvement to Unicode test suite, inspired by patch #102563:
Guido van Rossum [Wed, 29 Nov 2000 12:13:59 +0000 (12:13 +0000)]
Slight improvement to Unicode test suite, inspired by patch #102563:
also test join method of 8-bit strings.

Also changed the test() function to (1) compare the types of the
expected and actual result, and (2) in verbose mode, print the repr()
of the output.

24 years agoContributed code that converts Python source files to any combination of tabs/spaces...
Jack Jansen [Wed, 29 Nov 2000 10:02:22 +0000 (10:02 +0000)]
Contributed code that converts Python source files to any combination of tabs/spaces for indenting.

24 years agoAdded entries reflecting the separation of the abstract DOM documentation
Fred Drake [Wed, 29 Nov 2000 06:11:29 +0000 (06:11 +0000)]
Added entries reflecting the separation of the abstract DOM documentation
and the implementation docs for xml.dom.minidom.

24 years agoSubstantial re-organization of the DOM documentation. The abstract API
Fred Drake [Wed, 29 Nov 2000 06:10:22 +0000 (06:10 +0000)]
Substantial re-organization of the DOM documentation.  The abstract API
is now separated from the supplied standard implementation.  Not all
interfaces are documented yet, but the structure is better set up to do
so.

There is still a lot to do here, but the shape of the documentation is
coming into line.

24 years agoFix broken backslashes in Unicode strings section.
Fred Drake [Wed, 29 Nov 2000 06:03:45 +0000 (06:03 +0000)]
Fix broken backslashes in Unicode strings section.

This closes bug #123730.

24 years agoPartial fix for SF bug 123730: extra backslash in tutorial.
Tim Peters [Wed, 29 Nov 2000 05:51:59 +0000 (05:51 +0000)]
Partial fix for SF bug 123730:  extra backslash in tutorial.

24 years agoPatch #102469: Use glibc's getline() extension when reading unbounded lines
Andrew M. Kuchling [Wed, 29 Nov 2000 02:53:22 +0000 (02:53 +0000)]
Patch #102469: Use glibc's getline() extension when reading unbounded lines

24 years agoPatch #102469: Check for glibc's getline() extension
Andrew M. Kuchling [Wed, 29 Nov 2000 02:44:05 +0000 (02:44 +0000)]
Patch #102469: Check for glibc's getline() extension

24 years agoAdded documentation for the Py_InitModule*() family of functions.
Fred Drake [Tue, 28 Nov 2000 22:34:32 +0000 (22:34 +0000)]
Added documentation for the Py_InitModule*() family of functions.

24 years agoAdded information on the use of Unicode with the StringIO and cStringIO
Fred Drake [Tue, 28 Nov 2000 16:24:28 +0000 (16:24 +0000)]
Added information on the use of Unicode with the StringIO and cStringIO
modules, otherwise the behavior is just plain confusing.

24 years agoUse a subclass of buildindex.Node to clean up the HTML and get the
Fred Drake [Tue, 28 Nov 2000 16:20:50 +0000 (16:20 +0000)]
Use a subclass of buildindex.Node to clean up the HTML and get the
ordering fixed up (this makes sure that "xml.dom" comes before
"xml.dom.minidom" in the Module Index, which was not true before because
some HTML cruft crept into the data structures).

24 years agoUpdate dependencies per /F.
Guido van Rossum [Tue, 28 Nov 2000 12:09:18 +0000 (12:09 +0000)]
Update dependencies per /F.

24 years agoAdded brief explanation of the \versionchanged for 1.5.2 (fixes formatting
Fred Drake [Tue, 28 Nov 2000 06:39:28 +0000 (06:39 +0000)]
Added brief explanation of the \versionchanged for 1.5.2 (fixes formatting
for the HTML version).

24 years agoTwo minor nits.
Fred Drake [Tue, 28 Nov 2000 06:38:22 +0000 (06:38 +0000)]
Two minor nits.

24 years agoPlug a memory leak in com_import_stmt(): the tuple created to hold the
Guido van Rossum [Mon, 27 Nov 2000 22:22:36 +0000 (22:22 +0000)]
Plug a memory leak in com_import_stmt(): the tuple created to hold the
"..." in "from M import ..." was never DECREFed.  Leak reported by
James Slaughter and nailed by Barry, who also provided an earlier
version of this patch.

24 years agoPatch by Finn Bock to support PyStringMap in Jython.
Guido van Rossum [Mon, 27 Nov 2000 21:53:14 +0000 (21:53 +0000)]
Patch by Finn Bock to support PyStringMap in Jython.

24 years agoMinor typo: \subsubsections --> \subsubsection
Fred Drake [Mon, 27 Nov 2000 20:10:18 +0000 (20:10 +0000)]
Minor typo: \subsubsections --> \subsubsection

24 years agoSF patch #102548, fix for bug #121013, by mwh@users.sourceforge.net.
Guido van Rossum [Mon, 27 Nov 2000 18:46:26 +0000 (18:46 +0000)]
SF patch #102548, fix for bug #121013, by mwh@users.sourceforge.net.

Fixes a typo that caused "".join(u"this is a test") to dump core.

24 years agoSF non-bug 123520: fleshed out the tutorial's lambda example a little more.
Tim Peters [Mon, 27 Nov 2000 06:38:04 +0000 (06:38 +0000)]
SF non-bug 123520:  fleshed out the tutorial's lambda example a little more.

24 years agoAdded support for adding libraries.
Jack Jansen [Sun, 26 Nov 2000 23:02:38 +0000 (23:02 +0000)]
Added support for adding libraries.
Added support for project-relative and absolute path names in the search path entries.

24 years agoGenerate plugin projects automatically using mkcwproject. There are as of yet only
Jack Jansen [Sun, 26 Nov 2000 23:01:11 +0000 (23:01 +0000)]
Generate plugin projects automatically using mkcwproject. There are as of yet only
three modules done (and one doesn't work:-), the rest TBD.

24 years agoConversion.write_ordinal(): Not used, remove it.
Fred Drake [Wed, 22 Nov 2000 17:59:32 +0000 (17:59 +0000)]
Conversion.write_ordinal():  Not used, remove it.

24 years agoConvert the LaTeX "tie" (~) to a simple space.
Fred Drake [Wed, 22 Nov 2000 17:56:43 +0000 (17:56 +0000)]
Convert the LaTeX "tie" (~) to a simple space.

Add support for some combining characters.

Remove unnecessary imports and dependencies on PyXML and esistools.

24 years agoUpdate to reflect the process changes.
Fred Drake [Wed, 22 Nov 2000 16:58:25 +0000 (16:58 +0000)]
Update to reflect the process changes.
Remove the SGML aspects; there's too much XML momentum to worry about
the SGML flavor at this point.

24 years agoUpdate the rules to separate the two phases for the ESIS generation,
Fred Drake [Wed, 22 Nov 2000 16:54:20 +0000 (16:54 +0000)]
Update the rules to separate the two phases for the ESIS generation,
entirely so that debugging can be performed independently.

24 years agoAdd support for (relatively) recent additions and changes to python.sty,
Fred Drake [Wed, 22 Nov 2000 16:45:19 +0000 (16:45 +0000)]
Add support for (relatively) recent additions and changes to python.sty,
and one more standard LaTeX macro.

24 years agoUpdates to reflect pending changes to the XML conversion process.
Fred Drake [Wed, 22 Nov 2000 16:42:37 +0000 (16:42 +0000)]
Updates to reflect pending changes to the XML conversion process.

24 years agoDo not use \verb in the Python documentation -- it makes parsing the LaTeX
Fred Drake [Wed, 22 Nov 2000 16:06:16 +0000 (16:06 +0000)]
Do not use \verb in the Python documentation -- it makes parsing the LaTeX
sources more difficult and other tools do not always work well with it.
Since we have better markup for this case, just fix it.

24 years agoUpdate test output.
Fred Drake [Tue, 21 Nov 2000 22:03:09 +0000 (22:03 +0000)]
Update test output.

24 years agotestInsertBefore(): Rewritten to actually test insertBefore() somewhat.
Fred Drake [Tue, 21 Nov 2000 22:02:43 +0000 (22:02 +0000)]
testInsertBefore():  Rewritten to actually test insertBefore() somewhat.

testAAA(),
testAAB():  Added checks that the results are right.

testTooManyDocumentElements():  Added code to actually test this.

testCloneElementDeep()
testCloneElementShallow():  Filled these in with test code.

_testCloneElementCopiesAttributes(),
_setupCloneElement():  Helper functions used with the other
        testCloneElement*() functions.

testCloneElementShallowCopiesAttributes():  No longer a separate test;
        _setupCloneElement() uses _testCloneElementCopiesAttributes() to
        test that this is always done.

testNormalize():  Added to check Node.normalize().

24 years agoReduce the visibility of imported modules for cleaner "from ... import *"
Fred Drake [Tue, 21 Nov 2000 22:02:22 +0000 (22:02 +0000)]
Reduce the visibility of imported modules for cleaner  "from ... import *"
behavior.

Added support for the Attr.ownerElement attribute.

Everywhere:  Define constant object attributes in the classes rather than
on the instances during object construction.  This reduces the amount of
work needed for object construction and destruction; these need to be
lightweight operations on a DOM.

Node._get_firstChild(),
Node._get_lastChild():  Return None if there are no children (required for
        compliance with DOM level 1).

Node.insertBefore():  If refChild is None, append the new node instead of
        failing (required for compliance).  Also, update the sibling
        relationships.  Return the inserted node (required for compliance).

Node.appendChild():  Update the parent of the appended node.

Node.replaceChild():  Actually replace the old child!  Update the parent
        and sibling relationships of both the old and new children.  Return
        the replaced child (required for compliance).

Node.normalize():  Implemented the normalize() method.  Required for
        compliance, but missing from the release.  Useful for joining
        adjacent Text nodes into a single node for easier processing.

Node.cloneNode():  Actually make this work.  Don't let the new node share
        the instance __dict__ with the original.  Do proper recursion if
        doing a "deep" clone.  Move the attribute cloning out of the base
        class, since only Element is supposed to have attributes.

Node.unlink():  Simplify handling of child nodes for efficiency, and
        remove the attribute handling since only Element nodes support
        attributes.

Attr.cloneNode():  Extend this to clear the ownerElement attribute in
        the clone.

AttributeList.items(),
AttributeList.itemsNS():  Slight performance improvement (avoid lambda).

Element.cloneNode():  Extend Node.cloneNode() with support for the
        attributes.  Clone the Attr objects after creating the underlying
        clone.

Element.unlink():  Clean out the attributes here instead of in the base
        class, since this is the only class that will have them.

Element.toxml():  Adjust to create only one AttributeList instance; minor
        efficiency improvement.

_nssplit():  No need to re-import string.

Document.__init__():  No longer needed once constant attributes are
        initialized in the class itself.

Document.createElementNS(),
Document.createAttributeNS():  Use the defined constructors rather than
        directly access the classes.

_get_StringIO():  New function.  Create an output StringIO using the most
        efficient available flavor.

parse(),
parseString():  Import pulldom here instead of in the public namespace of
        the module.

24 years agoAdded MathLib and InterfaceLib. Added Python:Include so #include "package/file.h...
Jack Jansen [Sun, 19 Nov 2000 21:53:15 +0000 (21:53 +0000)]
Added MathLib and InterfaceLib. Added Python:Include so #include "package/file.h" works. Moved bits around so now at least Numeric with Distutils builds and instals.

24 years agoClose the project after building it, so that building umpteen projects doesn't keep...
Jack Jansen [Sun, 19 Nov 2000 21:51:06 +0000 (21:51 +0000)]
Close the project after building it, so that building umpteen projects doesn't keep all the projects open.

24 years agoDocument the new setupterm() function
Andrew M. Kuchling [Sat, 18 Nov 2000 17:57:33 +0000 (17:57 +0000)]
Document the new setupterm() function

24 years agoPatch #102412 from mwh: Add support for the setupterm() function, to
Andrew M. Kuchling [Sat, 18 Nov 2000 17:45:59 +0000 (17:45 +0000)]
Patch #102412 from mwh: Add support for the setupterm() function, to
    initialize the terminal without necessarily calling initscr()

24 years agoAdded information about the %r string formatting conversion. Added note
Fred Drake [Fri, 17 Nov 2000 19:44:14 +0000 (19:44 +0000)]
Added information about the %r string formatting conversion.  Added note
about the interpretation of radix 0 for int(), and added description of
the optional radix argument for long().  Based on comments from Reuben
Sumner <rasumner@users.sourceforge.net>.

This closes bug #121672.

24 years agoOops, back out change committed by accident! This is not ready, and
Fred Drake [Fri, 17 Nov 2000 19:09:34 +0000 (19:09 +0000)]
Oops, back out change committed by accident!  This is not ready, and
breaks things.

24 years agoNote that readframes() returns data in linear format, even if the original
Fred Drake [Fri, 17 Nov 2000 19:05:12 +0000 (19:05 +0000)]
Note that readframes() returns data in linear format, even if the original
is encoded in u-LAW format.  Based on suggestion from Anthony Baxter
<anthony_baxter@users.sourceforge.net>.

This closes bug #122273.

24 years agoCorrected a number of typos reported by Gilles Civario
Fred Drake [Fri, 17 Nov 2000 18:20:33 +0000 (18:20 +0000)]
Corrected a number of typos reported by Gilles Civario
<gcivario@users.sourceforge.net>.

This closes bug #122562.

24 years agoFixed typos and bug in the second example, reported by Scott Schram
Fred Drake [Fri, 17 Nov 2000 18:04:03 +0000 (18:04 +0000)]
Fixed typos and bug in the second example, reported by Scott Schram
<schram@users.sourceforge.net>.

This closes bug #122236.

24 years agoA solution to the classic N queens problem.
Guido van Rossum [Thu, 16 Nov 2000 21:25:51 +0000 (21:25 +0000)]
A solution to the classic N queens problem.

24 years agoFix for SF bug 122176: Error in rotor module documentation.
Tim Peters [Tue, 14 Nov 2000 21:43:01 +0000 (21:43 +0000)]
Fix for SF bug 122176: Error in rotor module documentation.

24 years agoGetting rid of 68K targets.
Jack Jansen [Tue, 14 Nov 2000 21:42:11 +0000 (21:42 +0000)]
Getting rid of 68K targets.
Started to rename projects to the de-facto standard .mcp extension.

24 years agoVerify that str(a) and repr(a) don't blow up (part of SF patch 102068).
Tim Peters [Tue, 14 Nov 2000 21:36:07 +0000 (21:36 +0000)]
Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).

24 years agoSF bug 119622: compile errors due to redundant atof decls. I don't understand
Tim Peters [Tue, 14 Nov 2000 20:44:53 +0000 (20:44 +0000)]
SF bug 119622:  compile errors due to redundant atof decls.  I don't understand
the bug report (for details, look at it), but agree there's no need for Python
to declare atof itself:  we #include stdlib.h, and ANSI C sez atof is declared
there already.

24 years agoAdded a note about removing preferences and .pyc files when you move the Python insta...
Jack Jansen [Tue, 14 Nov 2000 20:37:37 +0000 (20:37 +0000)]
Added a note about removing preferences and .pyc files when you move the Python installation.

24 years agoTypo for Mac code, fixing SF bug 12195.
Guido van Rossum [Mon, 13 Nov 2000 20:30:57 +0000 (20:30 +0000)]
Typo for Mac code, fixing SF bug 12195.

24 years agoAllow new.function() called with explicit 3rd arg of None, as
Guido van Rossum [Mon, 13 Nov 2000 20:29:20 +0000 (20:29 +0000)]
Allow new.function() called with explicit 3rd arg of None, as
documented, and as is reasonable (since it is optional, but there's
another argument following it that may require you to specify a
value).  This solves SF bug 121887.

24 years agoAdded _HAVE_BSDI and __APPLE__ to the list of platforms that require a
Guido van Rossum [Mon, 13 Nov 2000 19:48:22 +0000 (19:48 +0000)]
Added _HAVE_BSDI and __APPLE__ to the list of platforms that require a
hack for TELL64()...  Sounds like there's something else going on
really.  Does anybody have a clue I can buy?

24 years agoFix syntax error. Submitted by Bill Bumgarner. Apparently this is
Guido van Rossum [Mon, 13 Nov 2000 19:45:45 +0000 (19:45 +0000)]
Fix syntax error.  Submitted by Bill Bumgarner.  Apparently this is
still in use, for Apple Mac OSX.

24 years agoRip out DOS and Win16 support.
Guido van Rossum [Mon, 13 Nov 2000 17:29:30 +0000 (17:29 +0000)]
Rip out DOS and Win16 support.