]> granicus.if.org Git - python/log
python
25 years agoThis doesn't need to do nearly as much for the new conversion, so
Fred Drake [Mon, 2 Aug 1999 14:32:46 +0000 (14:32 +0000)]
This doesn't need to do nearly as much for the new conversion, so
simplify.

25 years agoA few small improvements to the conversion.
Fred Drake [Mon, 2 Aug 1999 14:32:11 +0000 (14:32 +0000)]
A few small improvements to the conversion.

25 years agoMarkup nits.
Fred Drake [Mon, 2 Aug 1999 14:30:52 +0000 (14:30 +0000)]
Markup nits.

Adjust examples to use the object interface instead of the function
interface.

25 years agoFixed hyperlink references to the __builtin__ and __main__ modules;
Fred Drake [Mon, 2 Aug 1999 14:13:09 +0000 (14:13 +0000)]
Fixed hyperlink references to the __builtin__ and __main__ modules;
error reported by Dale Nagata <DNagata@creo.com>.

25 years agoMark Hammond writes:
Guido van Rossum [Fri, 30 Jul 1999 17:48:20 +0000 (17:48 +0000)]
Mark Hammond writes:

"""
If the filename being complained about contains a space, enclose the
file-name in quotes.

The reason is simply that when I try and parse tabnanny's output, filenames
with spaces make it very difficult to determine where the filename stops
and the linenumber begins!
"""

Tim approves.

I slightly changed the patch (use 'in' instead of string.find()) and
arbitrarily bumped the __version__ variable up to 6.

25 years agoRemove some redundant code from Canvas.tag_bind(), which added all
Guido van Rossum [Fri, 30 Jul 1999 12:22:12 +0000 (12:22 +0000)]
Remove some redundant code from Canvas.tag_bind(), which added all
bindings to a dictionary _tagcommands which was otherwise unused.
(This was checked in accidentally with rev. 1.125 and not deleted with
rev. 1.127 when the other half of this code was removed -- although
even as originally checked in the _tagcommands variable was never
used.)

(PR#40, reported by Peter Stoehr)

25 years agoRipped out the old conversion.
Fred Drake [Thu, 29 Jul 1999 22:42:27 +0000 (22:42 +0000)]
Ripped out the old conversion.

25 years agoAdded a few more passes through the document fragment. Not actually
Fred Drake [Thu, 29 Jul 1999 22:23:19 +0000 (22:23 +0000)]
Added a few more passes through the document fragment.  Not actually
very interesting.

25 years agoMassive changes.
Fred Drake [Thu, 29 Jul 1999 22:22:13 +0000 (22:22 +0000)]
Massive changes.

Separate the Conversion class into a base and a subclass; the subclass
is pretty minimal but the separation is useful for....

NewConversion:  New class that implements a somewhat different
approach to the conversion.  This uses a table of
instances (rather than tuples) that have more
information than the tuples used for the older
conversion procedure.  This allows a lot more control
over the conversion, and it seems to be pretty
stable.

TableEntry,
Parameter: New classes that are used to build the conversion
specification used by NewConversion.

TableParser: xmllib.XMLParser subclass that builds a conversion
specification from an XML document.

load_table(): Convenience function that loads a table from a file.

main():  Added flags --new and --old; these select which conversion is
 used.  The default is --new.

Several fixes have been made in the old conversion as well; these were
done before writing & switching to the new conversion, and should be
archived.

The next checkin of this file will discard the old conversion; is is
kept in this checkin to allow it to be retrieved if needed, and to
avoid lossing the bugfixes that have been made to it in the interim.

25 years agoMinor updates.
Fred Drake [Thu, 29 Jul 1999 22:14:09 +0000 (22:14 +0000)]
Minor updates.

25 years agoUse the (new) buildFragment() method of the EsisBuilder rather than
Fred Drake [Thu, 29 Jul 1999 22:13:31 +0000 (22:13 +0000)]
Use the (new) buildFragment() method of the EsisBuilder rather than
implementing it all here.

25 years agoSome minor cleanup.
Fred Drake [Thu, 29 Jul 1999 22:03:52 +0000 (22:03 +0000)]
Some minor cleanup.

25 years agoConversion specification, used by a new path through latex2esis.py.
Fred Drake [Thu, 29 Jul 1999 22:03:11 +0000 (22:03 +0000)]
Conversion specification, used by a new path through latex2esis.py.
The specific markup conversion is coded here instead of an even more
cryptic table in the code of latex2esis.py.

25 years agoMinor update.
Fred Drake [Thu, 29 Jul 1999 22:01:39 +0000 (22:01 +0000)]
Minor update.

25 years agoChange an {\em ...} to \var{...} and a {\bf ...} to \program{...} (the
Fred Drake [Thu, 29 Jul 1999 13:56:41 +0000 (13:56 +0000)]
Change an {\em ...} to \var{...} and a {\bf ...} to \program{...} (the
new markup makes sense in context).

These allow the SGML/XML conversion updates to work, & should not have
still been in there anyway.

25 years agoA few minor Customize changes:
Barry Warsaw [Wed, 28 Jul 1999 22:06:06 +0000 (22:06 +0000)]
A few minor Customize changes:

(python): Set defgroup :prefix to "py-" to make variable names cleaner.

(py-jpython-command, py-jpython-command-args): Set :tag for proper
capitalization of JPython in variable name display.

25 years ago(python-mode): Set which interpreter (CPython or JPython) to use the
Barry Warsaw [Wed, 28 Jul 1999 21:59:43 +0000 (21:59 +0000)]
(python-mode): Set which interpreter (CPython or JPython) to use the
first time a py buffer is visited during the Emacs session.  This
ensures that py-which-shells is initialized and also guarantees that
the mode lines reflect the correct shell.  First bug found by GvR,
second one has long bugged :) me.

(py-toggle-shells): Programmatically, arg can also take the symbols
`cpython' or `jpython', which makes it easy to call with the value of
py-default-interpreter.

(py-shell): Don't need to initialize py-which-* variables since these
will guarantee to be initialized by python-mode when the first py
buffer is visited.

(py-default-interpreter): Update docstring.

25 years agoAnother patch from Andy Dustman:
Guido van Rossum [Wed, 28 Jul 1999 21:39:28 +0000 (21:39 +0000)]
Another patch from Andy Dustman:

"""
Here's a patch for the ForkingMixIn which will prevent the server from
forking itself into the ground. Note: I've tested a very similar patch
(subclassed ForkingMixIn) but not actually tested this one. As you might
surmise, this was done out of necessity...

If the maximum number of children are already running, block while waiting
for a child to exit.
"""

(I added that last sentence as a comment to the code --GvR.)

25 years ago(py-beginning-of-def-or-class): Only move to match-beginning if the
Barry Warsaw [Tue, 27 Jul 1999 21:40:02 +0000 (21:40 +0000)]
(py-beginning-of-def-or-class): Only move to match-beginning if the
regex match actually succeeded!

25 years agoAdd support for bzip2 compression.
Fred Drake [Tue, 27 Jul 1999 16:30:59 +0000 (16:30 +0000)]
Add support for bzip2 compression.

New target: distfiles, create all distribution archives, regardless of
archive format.  (Individual targets remain for each archive format.)

25 years agoAdd support for bzip2 using --bzip2.
Fred Drake [Tue, 27 Jul 1999 16:29:30 +0000 (16:29 +0000)]
Add support for bzip2 using --bzip2.

25 years agoIgnore additional compressed formats.
Fred Drake [Tue, 27 Jul 1999 14:23:25 +0000 (14:23 +0000)]
Ignore additional compressed formats.

25 years agoAdded description of optional parameter to UserDict constructor.
Fred Drake [Mon, 26 Jul 1999 15:45:52 +0000 (15:45 +0000)]
Added description of optional parameter to UserDict constructor.
Omission reported by Barry Warsaw.

25 years agoAdd zip archive support for html, pdf, ps, and latex archives.
Fred Drake [Fri, 23 Jul 1999 16:11:36 +0000 (16:11 +0000)]
Add zip archive support for html, pdf, ps, and latex archives.

"zips" target produces all possible .zip files.

25 years agoAdd --zip parameter; make this able to produce .zip files as well as
Fred Drake [Fri, 23 Jul 1999 16:09:11 +0000 (16:09 +0000)]
Add --zip parameter; make this able to produce .zip files as well as
.tgz files.

25 years agogetsize(), getatime(), getmtime():
Fred Drake [Fri, 23 Jul 1999 15:04:05 +0000 (15:04 +0000)]
getsize(), getatime(), getmtime():
Constants from stat module were imported using "import *";
don't access them via stat.ST_*!

Reported by that other vR.  ;-)

25 years agoUpdate getattr() description to document the optional third
Fred Drake [Thu, 22 Jul 1999 19:21:45 +0000 (19:21 +0000)]
Update getattr() description to document the optional third
parameter.  Thanks to Barry Warsaw for pointing out the oversight.

25 years agoMake the default target xml instead of sgml.
Fred Drake [Thu, 22 Jul 1999 13:57:12 +0000 (13:57 +0000)]
Make the default target xml instead of sgml.

25 years agoMake the default target xml instead of sgml.
Fred Drake [Thu, 22 Jul 1999 13:56:51 +0000 (13:56 +0000)]
Make the default target xml instead of sgml.

Use a temporary file to pass results from latex2esis.py to
docfixer.py; this makes for better error detection by make (if the
first pipeline stage fails, make wasn't catching it).

25 years agotypo: privide --> provide
Fred Drake [Tue, 20 Jul 1999 13:21:42 +0000 (13:21 +0000)]
typo: privide --> provide

Reported by Nadim Ghaznavi <nadim@ghaznavi.com>.

25 years agoFixed order of parameters in slice() docstring. The Library Reference
Fred Drake [Mon, 19 Jul 1999 15:21:16 +0000 (15:21 +0000)]
Fixed order of parameters in slice() docstring.  The Library Reference
had it right!  Reported by Tim Hochberg <tim.hochberg@ieee.org>.

25 years agoNew wishes.
Guido van Rossum [Thu, 15 Jul 1999 13:11:02 +0000 (13:11 +0000)]
New wishes.

25 years agoAdd test case for bug just fixed by Stephen Turner.
Guido van Rossum [Tue, 13 Jul 1999 15:23:42 +0000 (15:23 +0000)]
Add test case for bug just fixed by Stephen Turner.

25 years agoPatch by Stephen Turner, who writes:
Guido van Rossum [Tue, 13 Jul 1999 15:18:58 +0000 (15:18 +0000)]
Patch by Stephen Turner, who writes:

"""
It fixes a memory corruption error resulting from BadPickleGet
exceptions in load_get, load_binget and load_long_binget.  This was
initially reported on c.l.py as a problem with Cookie.py; see the thread
titled "python core dump (SIGBUS) on Solaris" for more details.

If PyDict_GetItem(self->memo, py_key) call failed, then py_key was being
Py_DECREF'd out of existence before call was made to
PyErr_SetObject(BadPickleGet, py_key).

The bug can be duplicated as follows:

import cPickle
cPickle.loads('garyp')

This raises a BadPickleGet exception whose value is a freed object.  A
core dump will soon follow.
"""

Jim Fulton approves of the patch.

25 years agoMark Favas was quick to note that the last checkin divides by zero
Guido van Rossum [Tue, 13 Jul 1999 05:41:12 +0000 (05:41 +0000)]
Mark Favas was quick to note that the last checkin divides by zero
when n == 0...  So divide by a->ob_size instead which was already
tested for 0.

25 years agoAppropriate overflow checks so that things like sys.maxint*(1,) can't
Guido van Rossum [Mon, 12 Jul 1999 23:06:58 +0000 (23:06 +0000)]
Appropriate overflow checks so that things like sys.maxint*(1,) can't
dump core.

25 years agoadded a test for "To: :" patch
Barry Warsaw [Mon, 12 Jul 1999 18:47:00 +0000 (18:47 +0000)]
added a test for "To: :" patch

25 years agoAddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out
Barry Warsaw [Mon, 12 Jul 1999 18:37:02 +0000 (18:37 +0000)]
AddrlistClass.getaddress(): when parsing `:'s, in the loop, watch out
for gotonext() pushing self.pos past the end of the string.  This can
happen if the message has a To field like "To: :" and you call
msg.getaddrlist('to').

25 years agoAdded comment clarifying that RELEASE is the documentation release
Fred Drake [Mon, 12 Jul 1999 16:52:50 +0000 (16:52 +0000)]
Added comment clarifying that RELEASE is the documentation release
number, not the Python release.

Removed VERSION since it is not used.

25 years agodo_cmd_funclineni(): New function; non-indexing form of \funcline.
Fred Drake [Mon, 12 Jul 1999 16:50:09 +0000 (16:50 +0000)]
do_cmd_funclineni():  New function; non-indexing form of \funcline.

25 years agoMove chdir() and getcwd() descriptions to "Files and Directories" with
Fred Drake [Mon, 12 Jul 1999 16:49:30 +0000 (16:49 +0000)]
Move chdir() and getcwd() descriptions to "Files and Directories" with
a pointer from the "Process Parameters" section.  Based on comments
from Aahz Maruch, Tim Peters, and GvR.

25 years agoUse the same names for CLASS attributes as elsewhere.
Fred Drake [Mon, 12 Jul 1999 16:28:50 +0000 (16:28 +0000)]
Use the same names for CLASS attributes as elsewhere.

25 years agoUpdated Milan's email address.
Fred Drake [Mon, 12 Jul 1999 15:26:43 +0000 (15:26 +0000)]
Updated Milan's email address.

25 years agoMake the color for stderr red (i.e. the standard warning/danger/stop
Guido van Rossum [Sat, 10 Jul 1999 13:17:35 +0000 (13:17 +0000)]
Make the color for stderr red (i.e. the standard warning/danger/stop
color) rather than green.  Suggested by Sam Schulenburg.

25 years agoThe first concrete subclass of CCompiler: defines a barebones Unix C compiler.
Greg Ward [Sat, 10 Jul 1999 02:04:22 +0000 (02:04 +0000)]
The first concrete subclass of CCompiler: defines a barebones Unix C compiler.

25 years agoThe abstract base class that defines the C/C++ compiler abstraction model.
Greg Ward [Sat, 10 Jul 1999 02:03:53 +0000 (02:03 +0000)]
The abstract base class that defines the C/C++ compiler abstraction model.

25 years agoAdded a self-berating command relating to installation directories for
Greg Ward [Sat, 10 Jul 1999 02:02:31 +0000 (02:02 +0000)]
Added a self-berating command relating to installation directories for
module distributions that contain platform-specific files.

25 years agoDon't pollute importer's namespace with type objects from types modules.
Greg Ward [Sat, 10 Jul 1999 02:01:44 +0000 (02:01 +0000)]
Don't pollute importer's namespace with type objects from types modules.
Added DistutilsPlatformError.

25 years agoPatch by Jeffrey Chang to add docstrings everywhere.
Guido van Rossum [Fri, 9 Jul 1999 21:15:32 +0000 (21:15 +0000)]
Patch by Jeffrey Chang to add docstrings everywhere.
The text is condensed from the library manual.

25 years agoMarc-Andre Lemburg discovered that the switch from .pyc to .pyo files,
Guido van Rossum [Thu, 8 Jul 1999 17:26:56 +0000 (17:26 +0000)]
Marc-Andre Lemburg discovered that the switch from .pyc to .pyo files,
done by _PyImport_Init(), comes to late to affect the import of
exceptions.py by _PyBuiltin_Init_2().  Move  _PyImport_Init() up few lines.

25 years agoSeveral methods return tuples, not lists.
Fred Drake [Wed, 7 Jul 1999 14:04:38 +0000 (14:04 +0000)]
Several methods return tuples, not lists.

25 years agoMove some misc. comments from the example section to the main section.
Fred Drake [Wed, 7 Jul 1999 13:42:56 +0000 (13:42 +0000)]
Move some misc. comments from the example section to the main section.

Use the lowercase versions of the method names in the example, since
that's what's documented (Greg Stein's suggestion).  Add a blank line
after the import line for clarity.

25 years agoFTP.dir(): Fix typo in docstring.
Fred Drake [Wed, 7 Jul 1999 13:36:59 +0000 (13:36 +0000)]
FTP.dir():  Fix typo in docstring.

25 years agodir() method description revised based on comments from Greg Stein.
Fred Drake [Wed, 7 Jul 1999 13:36:22 +0000 (13:36 +0000)]
dir() method description revised based on comments from Greg Stein.

25 years agomake_view_popups(): Catch import error which can occur if a viewer is
Barry Warsaw [Tue, 6 Jul 1999 22:00:52 +0000 (22:00 +0000)]
make_view_popups(): Catch import error which can occur if a viewer is
dynamically imported when Pynche is running via askcolor out of a
package.  If the ImportError occurs, try again, prepending the package
name and digging out the module.

25 years agoMissing space; reported by Robert Kern <kernr@ncifcrf.gov>.
Fred Drake [Tue, 6 Jul 1999 21:00:18 +0000 (21:00 +0000)]
Missing space; reported by Robert Kern <kernr@ncifcrf.gov>.

25 years agoFix a number of minor problems pointed out by /F.
Fred Drake [Tue, 6 Jul 1999 15:50:23 +0000 (15:50 +0000)]
Fix a number of minor problems pointed out by /F.

25 years agoFixed typo reported by /F; thanks!
Fred Drake [Tue, 6 Jul 1999 15:43:55 +0000 (15:43 +0000)]
Fixed typo reported by /F; thanks!

25 years agoBump the release number to 1.5.2p1.
Fred Drake [Tue, 6 Jul 1999 14:30:04 +0000 (14:30 +0000)]
Bump the release number to 1.5.2p1.

25 years agoDrag module added.
Jack Jansen [Mon, 5 Jul 1999 09:40:13 +0000 (09:40 +0000)]
Drag module added.

25 years agoDarn! Forgot to re-target.
Fred Drake [Fri, 2 Jul 1999 15:27:14 +0000 (15:27 +0000)]
Darn!  Forgot to re-target.

25 years agoRemove one item.
Fred Drake [Fri, 2 Jul 1999 14:31:41 +0000 (14:31 +0000)]
Remove one item.

Rearrange & comment on others.

25 years agoMinor markup nit.
Fred Drake [Fri, 2 Jul 1999 14:29:14 +0000 (14:29 +0000)]
Minor markup nit.

25 years agoAdded entry for asyncore module.
Fred Drake [Fri, 2 Jul 1999 14:27:03 +0000 (14:27 +0000)]
Added entry for asyncore module.

25 years agoFix a few markup nits, improve some index entries.
Fred Drake [Fri, 2 Jul 1999 14:25:37 +0000 (14:25 +0000)]
Fix a few markup nits, improve some index entries.

25 years agoNew documentation from Chris Petrilli <petrilli@amber.org>.
Fred Drake [Fri, 2 Jul 1999 14:25:03 +0000 (14:25 +0000)]
New documentation from Chris Petrilli <petrilli@amber.org>.

25 years agoFor spawn*(), point to the magic constants; some readers have a hard
Fred Drake [Fri, 2 Jul 1999 14:01:03 +0000 (14:01 +0000)]
For spawn*(), point to the magic constants; some readers have a hard
time finding the bindings.

25 years agoMilton L. Hankin reports that on Windows it is possible to have two
Guido van Rossum [Fri, 2 Jul 1999 02:54:02 +0000 (02:54 +0000)]
Milton L. Hankin reports that on Windows it is possible to have two
different values in the environ dict with the same key (although he
couldn't explain exactly how this came to be).  Since getenv() uses
the first one, Python should do too. (Some doubts about case
sensitivity, but for now this at least seems the right thing to do
regardless of platform.)

25 years agoSjoerd Mullender:
Guido van Rossum [Thu, 1 Jul 1999 23:20:56 +0000 (23:20 +0000)]
Sjoerd Mullender:

In splithost, accept empty host part in URLs.  This is required for
file URLs that can have an empty host part.  For such URLs, we should
not return the initial 2 slashes as part of the file name.

25 years agoRemoved entries for several modules which have been documented.
Fred Drake [Thu, 1 Jul 1999 20:42:57 +0000 (20:42 +0000)]
Removed entries for several modules which have been documented.

Updated comments on several remaining modules.

25 years agoDocumentation for dl module from Moshe.
Fred Drake [Thu, 1 Jul 1999 20:40:21 +0000 (20:40 +0000)]
Documentation for dl module from Moshe.

25 years agoAdded entry for dl module.
Fred Drake [Thu, 1 Jul 1999 20:39:59 +0000 (20:39 +0000)]
Added entry for dl module.

25 years agoRelocating file to Lib/lib-old.
Fred Drake [Thu, 1 Jul 1999 16:59:29 +0000 (16:59 +0000)]
Relocating file to Lib/lib-old.

25 years agoRemove extraneous "contains" -- pointed out by Daniel Barclay
Fred Drake [Thu, 1 Jul 1999 16:31:03 +0000 (16:31 +0000)]
Remove extraneous "contains" -- pointed out by Daniel Barclay
<danielb@digitalfocus.com>.

Added credit to Martin von Loewis for creating the module and
documentation.

25 years agoPer Frank Stajano's suggestion, state explicitly that the functions
Fred Drake [Thu, 1 Jul 1999 13:54:40 +0000 (13:54 +0000)]
Per Frank Stajano's suggestion, state explicitly that the functions
described in the sub-sections are directly available at the module
level.  He found this confusing.

25 years agoMake the reference to the os module in the module synopsis (for the
Fred Drake [Thu, 1 Jul 1999 13:53:32 +0000 (13:53 +0000)]
Make the reference to the os module in the module synopsis (for the
table at the front of the chapter) a hyperlink.

25 years agoDon't set type of application, it's taken care of elsewhere -- jvr
Just van Rossum [Wed, 30 Jun 1999 19:31:14 +0000 (19:31 +0000)]
Don't set type of application, it's taken care of elsewhere -- jvr

25 years agoMade several grammatical corrections based on comments from Daniel
Fred Drake [Wed, 30 Jun 1999 15:32:50 +0000 (15:32 +0000)]
Made several grammatical corrections based on comments from Daniel
Barcla <danielb@digitalfocus.com>.

Also added example of what happens when a parameter is set both
positionally and by a keyword (one of Daniels suggestions related to
that paragraph).

25 years agoFor "Matching vs. Searching", remove comment that the section is
Fred Drake [Tue, 29 Jun 1999 21:21:19 +0000 (21:21 +0000)]
For "Matching vs. Searching", remove comment that the section is
incomplete; I don't remember what else I thought I was going to put
in, but it looks o.k. to me know.

25 years agoAdded some reminders.
Fred Drake [Tue, 29 Jun 1999 18:54:03 +0000 (18:54 +0000)]
Added some reminders.

25 years agoMove the setting for secnumdepth to the document classes; make the numbering
Fred Drake [Tue, 29 Jun 1999 18:15:59 +0000 (18:15 +0000)]
Move the setting for secnumdepth to the document classes; make the numbering
for the manual class go one deeper than it previously did (\subsection
entries will now be numbered); no change for howto documents.

This makes it easier to refer precisely to smaller sections using \ref.

25 years agoAdded some minor prose before the descriptions of the data attributes
Fred Drake [Tue, 29 Jun 1999 18:13:37 +0000 (18:13 +0000)]
Added some minor prose before the descriptions of the data attributes
to make it clear that these are instance attributes, not module data.

25 years agoAdded entry for pty module.
Fred Drake [Tue, 29 Jun 1999 18:12:22 +0000 (18:12 +0000)]
Added entry for pty module.

25 years agopty documentation from Moshe; with small edits.
Fred Drake [Tue, 29 Jun 1999 18:11:22 +0000 (18:11 +0000)]
pty documentation from Moshe; with small edits.

25 years agoImprove description of the example.
Fred Drake [Tue, 29 Jun 1999 17:08:41 +0000 (17:08 +0000)]
Improve description of the example.

25 years agoUsage nit: a bunch of "nor"s should have been a single "or".
Fred Drake [Tue, 29 Jun 1999 16:02:12 +0000 (16:02 +0000)]
Usage nit: a bunch of "nor"s should have been a single "or".

Make reference to the copy_reg module a hyperlink.

25 years agoMinor wording change in section title.
Fred Drake [Tue, 29 Jun 1999 16:00:22 +0000 (16:00 +0000)]
Minor wording change in section title.

25 years agobyteswap() method: Tell *what* exception gets raised when the type
Fred Drake [Tue, 29 Jun 1999 15:58:00 +0000 (15:58 +0000)]
byteswap() method:  Tell *what* exception gets raised when the type
    cannot be byteswapped.

25 years agoRemove unnecessary comma.
Fred Drake [Tue, 29 Jun 1999 15:53:52 +0000 (15:53 +0000)]
Remove unnecessary comma.

25 years agoDefine NotANumber as a subclass of ValueError when using class-based
Fred Drake [Tue, 29 Jun 1999 15:49:35 +0000 (15:49 +0000)]
Define NotANumber as a subclass of ValueError when using class-based
exceptions.

When raising NotANumber, pass the string that failed as the exception
value.

25 years agoComment out XXX comment; this needn't appear in the formatted
Fred Drake [Tue, 29 Jun 1999 15:45:09 +0000 (15:45 +0000)]
Comment out XXX comment; this needn't appear in the formatted
versions.  XXX comments only need to be grep-able.

25 years agoAdd note about not being able to use this module with modules not
Fred Drake [Tue, 29 Jun 1999 15:43:02 +0000 (15:43 +0000)]
Add note about not being able to use this module with modules not
implemented in Python.

25 years agoMoshe: Remove extraneous "and".
Fred Drake [Tue, 29 Jun 1999 14:57:12 +0000 (14:57 +0000)]
Moshe:  Remove extraneous "and".

25 years agoAdded entries for mutex and nis modules.
Fred Drake [Sun, 27 Jun 1999 15:02:37 +0000 (15:02 +0000)]
Added entries for mutex and nis modules.

25 years agoNIS documentation from Moshe.
Fred Drake [Sun, 27 Jun 1999 15:01:08 +0000 (15:01 +0000)]
NIS documentation from Moshe.

25 years agoMutex documentation from Moshe.
Fred Drake [Sun, 27 Jun 1999 15:00:41 +0000 (15:00 +0000)]
Mutex documentation from Moshe.

25 years agoSeparate documentation of SUNAUDIODEV from sunaudiodev; this mirrors
Fred Drake [Sun, 27 Jun 1999 14:53:11 +0000 (14:53 +0000)]
Separate documentation of SUNAUDIODEV from sunaudiodev; this mirrors
similar constructs elsewhere (al/AL, gl/GL/DEVICE).

25 years agoFix some typos.
Fred Drake [Fri, 25 Jun 1999 19:13:36 +0000 (19:13 +0000)]
Fix some typos.

Add an index entry.

25 years agoAdd entries for the sched module.
Fred Drake [Fri, 25 Jun 1999 18:54:30 +0000 (18:54 +0000)]
Add entries for the sched module.

25 years agoWhile we're at it, convert to docstrings and set the indentation level
Fred Drake [Fri, 25 Jun 1999 18:53:23 +0000 (18:53 +0000)]
While we're at it, convert to docstrings and set the indentation level
to 4.