]> granicus.if.org Git - python/log
python
26 years agoAdded NotImplementedError, subclassed from RuntimeError
Barry Warsaw [Tue, 1 Dec 1998 18:36:30 +0000 (18:36 +0000)]
Added NotImplementedError, subclassed from RuntimeError

26 years agoAdded PyExc_NotImplementedError
Barry Warsaw [Tue, 1 Dec 1998 18:34:01 +0000 (18:34 +0000)]
Added PyExc_NotImplementedError

26 years agoNits to support conversions.
Fred Drake [Mon, 30 Nov 1998 22:58:12 +0000 (22:58 +0000)]
Nits to support conversions.

26 years agoRemove $(CUTCRUFT) garbage; now in fixgenents.sh.
Fred Drake [Mon, 30 Nov 1998 22:31:45 +0000 (22:31 +0000)]
Remove $(CUTCRUFT) garbage; now in fixgenents.sh.

Separate ESIS generation from XML generation.  This will evolve a bit
more in a couple of days.

26 years agoMove nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up
Fred Drake [Mon, 30 Nov 1998 22:30:29 +0000 (22:30 +0000)]
Move nasty cruft from make.rules' $(CUTCRUFT) here, mostly to clean up
make.rules.

26 years agoFix minor nit with respect to conversion.
Fred Drake [Mon, 30 Nov 1998 22:14:58 +0000 (22:14 +0000)]
Fix minor nit with respect to conversion.

Update some logical markup.

26 years agoRemove {\rm ...} constructs.
Fred Drake [Mon, 30 Nov 1998 21:53:47 +0000 (21:53 +0000)]
Remove {\rm ...} constructs.

26 years agoRemove some remaining {\rm ...} constructs.
Fred Drake [Mon, 30 Nov 1998 21:51:25 +0000 (21:51 +0000)]
Remove some remaining {\rm ...} constructs.

Update logical markup in a few spots.

26 years agoChange "for" explanation slightly based on comment passed along by
Fred Drake [Mon, 30 Nov 1998 20:37:24 +0000 (20:37 +0000)]
Change "for" explanation slightly based on comment passed along by
Blake Winton <BlakeW@pcdocs.com>.

26 years agol2hoption: Do the "right thing" to quote the right-hand-side of Perl
Fred Drake [Mon, 30 Nov 1998 20:30:26 +0000 (20:30 +0000)]
l2hoption:  Do the "right thing" to quote the right-hand-side of Perl
assignments.  This allows '"', '$', and '@' to be included in
the values passed to parameters like --address.

26 years agoAdd a --address parameter to the mkhowto command line to direct
Fred Drake [Mon, 30 Nov 1998 20:28:35 +0000 (20:28 +0000)]
Add a --address parameter to the mkhowto command line to direct
documentation comments appropriately.  In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.

Add dependency to about.dat.

26 years agoAdd a -address parameter to the LaTeX2HTML command line to direct
Fred Drake [Mon, 30 Nov 1998 20:27:31 +0000 (20:27 +0000)]
Add a -address parameter to the LaTeX2HTML command line to direct
documentation comments appropriately.  In response to comment from
Martijn Faassen <faassen@vet.uu.nl>.

26 years agoOops, remove LaTeX2HTML version number. Could become wrong and isn't
Fred Drake [Mon, 30 Nov 1998 19:29:34 +0000 (19:29 +0000)]
Oops, remove LaTeX2HTML version number.  Could become wrong and isn't
needed, since it's always added to the comments in the page header
anyway.

26 years agodo_cmd_textohtmlinfopage(): Rip out most of the boilerplate and move
Fred Drake [Mon, 30 Nov 1998 19:25:47 +0000 (19:25 +0000)]
do_cmd_textohtmlinfopage():  Rip out most of the boilerplate and move
it to the about.dat file.  Only what really needs to be
generated is, and the remainder is easier to maintain than
Perl code.

26 years agoNew file. Contains boilerplate text for the "About this document..."
Fred Drake [Mon, 30 Nov 1998 19:24:13 +0000 (19:24 +0000)]
New file.  Contains boilerplate text for the "About this document..."
section of LaTeX2HTML-generated documents.

Includes credit to Christopher Petrilli for the navigation icons.

26 years agoMarkup nit to ease conversions.
Fred Drake [Mon, 30 Nov 1998 19:00:16 +0000 (19:00 +0000)]
Markup nit to ease conversions.

26 years agoMarkup improvements to help with conversions.
Fred Drake [Mon, 30 Nov 1998 18:59:44 +0000 (18:59 +0000)]
Markup improvements to help with conversions.

26 years agoRemove cruft from the old Texinfo conversion. This simplifies some of
Fred Drake [Mon, 30 Nov 1998 17:33:38 +0000 (17:33 +0000)]
Remove cruft from the old Texinfo conversion.  This simplifies some of
the newer processing.

26 years agoRemove bogus \@.
Fred Drake [Mon, 30 Nov 1998 16:27:37 +0000 (16:27 +0000)]
Remove bogus \@.

26 years agoMinor markup nit to ease conversion processing.
Fred Drake [Mon, 30 Nov 1998 16:26:50 +0000 (16:26 +0000)]
Minor markup nit to ease conversion processing.

26 years agoDo all the right imports. Problem reported by Martijn Faassen
Fred Drake [Mon, 30 Nov 1998 15:07:26 +0000 (15:07 +0000)]
Do all the right imports.  Problem reported by Martijn Faassen
<faassen@vet.uu.nl>.

26 years agoPatch by Jeff Bauer: a minor change to declare two new
Guido van Rossum [Mon, 30 Nov 1998 15:07:01 +0000 (15:07 +0000)]
Patch by Jeff Bauer: a minor change to declare two new
threaded versions of Unix Server classes, using the
ThreadingMixIn class:

    ThreadingUnixStreamServer
    ThreadingUnixDatagramServer

26 years agoSeveral small adjustments.
Fred Drake [Mon, 30 Nov 1998 14:45:24 +0000 (14:45 +0000)]
Several small adjustments.

26 years agoMake \var work correctly in math mode.
Fred Drake [Mon, 30 Nov 1998 14:42:59 +0000 (14:42 +0000)]
Make \var work correctly in math mode.

26 years agoHandle output of \geq and \leq.
Fred Drake [Mon, 30 Nov 1998 14:36:26 +0000 (14:36 +0000)]
Handle output of \geq and \leq.

26 years agoTypo
Guido van Rossum [Fri, 27 Nov 1998 03:19:20 +0000 (03:19 +0000)]
Typo

26 years agoSupport underlining of menu labels
Guido van Rossum [Fri, 27 Nov 1998 03:19:07 +0000 (03:19 +0000)]
Support underlining of menu labels

26 years agoNew approach, separate tables for menus (platform-independent) and key
Guido van Rossum [Fri, 27 Nov 1998 03:17:49 +0000 (03:17 +0000)]
New approach, separate tables for menus (platform-independent) and key
definitions (platform-specific), and generating accelerator strings
automatically from the key definitions.

26 years agoLogical markup.
Fred Drake [Wed, 25 Nov 1998 22:38:24 +0000 (22:38 +0000)]
Logical markup.

Fix a few things for the conversion to structured markup.

Removed texinfo special cases, since there's likely a new info
process.

26 years agoFix remaining {\rm ...} construct.
Fred Drake [Wed, 25 Nov 1998 20:55:03 +0000 (20:55 +0000)]
Fix remaining {\rm ...} construct.

26 years agoRemove some optional parameters that are unnecessary in context.
Fred Drake [Wed, 25 Nov 1998 20:15:52 +0000 (20:15 +0000)]
Remove some optional parameters that are unnecessary in context.

26 years agoRemove bogus \@.
Fred Drake [Wed, 25 Nov 1998 20:07:35 +0000 (20:07 +0000)]
Remove bogus \@.

26 years agoRemove bogus \@.
Fred Drake [Wed, 25 Nov 1998 19:55:47 +0000 (19:55 +0000)]
Remove bogus \@.

26 years agoDo the right stuff to convert what was originally \e, \ldots, and ---
Fred Drake [Wed, 25 Nov 1998 19:28:02 +0000 (19:28 +0000)]
Do the right stuff to convert what was originally \e, \ldots, and ---
in the LaTeX sources.

26 years agoRemove two remaining {\tt ...} constructs.
Fred Drake [Wed, 25 Nov 1998 19:23:33 +0000 (19:23 +0000)]
Remove two remaining {\tt ...} constructs.

26 years agoRemove two remaining {\tt ...} constructs.
Fred Drake [Wed, 25 Nov 1998 19:09:24 +0000 (19:09 +0000)]
Remove two remaining {\tt ...} constructs.

26 years agoClarify that min and max also take multiple arguments.
Guido van Rossum [Wed, 25 Nov 1998 18:53:05 +0000 (18:53 +0000)]
Clarify that min and max also take multiple arguments.

26 years agoMassive change to just about every construct that impacts the index.
Fred Drake [Wed, 25 Nov 1998 17:58:50 +0000 (17:58 +0000)]
Massive change to just about every construct that impacts the index.

Blame it on Just.  ;-)

26 years agoMarkup nits.
Fred Drake [Wed, 25 Nov 1998 17:51:15 +0000 (17:51 +0000)]
Markup nits.

Fixed an index entry, added three more.

26 years agoMinor fixups to some index entries.
Fred Drake [Wed, 25 Nov 1998 17:48:10 +0000 (17:48 +0000)]
Minor fixups to some index entries.

26 years agoMinor adjustments to a few index entries.
Fred Drake [Wed, 25 Nov 1998 17:40:00 +0000 (17:40 +0000)]
Minor adjustments to a few index entries.

26 years agoMinor nit that fixes a bunch of indexing: the way the classdesc
Fred Drake [Wed, 25 Nov 1998 17:13:28 +0000 (17:13 +0000)]
Minor nit that fixes a bunch of indexing:  the way the classdesc
environment saves the name of the last class described, method and
member descriptions were not picking it up correctly.  Thus, many
index entries were described as "( method)" instead of "(FooClass
method)".  Multiple entries were collapsed in the index when
methods/members from multiple classes share the same name.

26 years agoFix indexing of func_code attribute; this is on a function, not a code
Fred Drake [Wed, 25 Nov 1998 17:09:19 +0000 (17:09 +0000)]
Fix indexing of func_code attribute; this is on a function, not a code
object.

Add "()" to method names indexed using \ttindex{}.

26 years agoNew version from Jim Fulton:
Guido van Rossum [Wed, 25 Nov 1998 16:18:00 +0000 (16:18 +0000)]
New version from Jim Fulton:

  - New copyright. (Open source)

  - Added new protocol for binary string pickles that
    takes out unneeded puts:

      p=Pickler()
      p.dump(x)
      p.dump(y)
      thePickle=p.getvalue()

    This has little or no impact on pickling time, but
    often reduces unpickling time and pickle size, sometimes
    significantly.

  - Changed unpickler to use internal data structure instead
    of list to reduce unpickling times by about a third.

  - Many cleanups to get rid of obfuscated error handling
    involving 'goto finally' and status variables.

  - Extensive reGuidofication. (formatting :)

  - Fixed binary floating-point pickling bug. 0.0 was not
    pickled correctly.

  - Now use binary floating point format when saving
    floats in binary mode.

  - Fixed some error message spelling error.

26 years agoNew version from Jim Fulton:
Guido van Rossum [Wed, 25 Nov 1998 16:17:32 +0000 (16:17 +0000)]
New version from Jim Fulton:

  - New copyright. (Open source)

  - Fixed problem in seek method.  The seek method should (and now does)
    fill with nulls when seeking past the end of the "file".

26 years agoWrong pathname in docstring detected by Fredrik Nehr.
Guido van Rossum [Wed, 25 Nov 1998 15:57:47 +0000 (15:57 +0000)]
Wrong pathname in docstring detected by Fredrik Nehr.

26 years agoSupplemental rules to convert a .tex file to a .xml file. Both XML and
Fred Drake [Tue, 24 Nov 1998 17:40:33 +0000 (17:40 +0000)]
Supplemental rules to convert a .tex file to a .xml file.  Both XML and
SGML will be supported soon, probably using an ESIS representation saved
in a temp file.

26 years agoScript to convert things like <C/> and <Cpp/> to &C; and &Cpp;. This is
Fred Drake [Tue, 24 Nov 1998 17:38:49 +0000 (17:38 +0000)]
Script to convert things like <C/> and <Cpp/> to &C; and &Cpp;.  This is
something that con't be done with the DOM as far as I can tell.

26 years agoRationalize a word-space markup to not break in the LaTeX->*ML
Fred Drake [Tue, 24 Nov 1998 17:07:29 +0000 (17:07 +0000)]
Rationalize a word-space markup to not break in the LaTeX->*ML
conversion tools currently being constructed.

Add a chapter from Jim Fulton on using Misc/Makefile.pre.in.  Still
preliminary.  The "Dynamic Loading" chapter needs to be updated (and
possibly removed, since it's no longer an issue for most (any?)
users.

26 years agoThe & character is also escaped using \.
Fred Drake [Mon, 23 Nov 1998 23:11:12 +0000 (23:11 +0000)]
The & character is also escaped using \.

26 years agoAdd some additional cleanup transformations.
Fred Drake [Mon, 23 Nov 1998 23:10:35 +0000 (23:10 +0000)]
Add some additional cleanup transformations.

26 years agoFix cosmetic bug in delattr docstring discovered by JvR.
Guido van Rossum [Mon, 23 Nov 1998 22:13:04 +0000 (22:13 +0000)]
Fix cosmetic bug in delattr docstring discovered by JvR.

26 years agoWhoops! One the "redundant" initializations removed by Vladimir in
Guido van Rossum [Mon, 23 Nov 1998 21:09:51 +0000 (21:09 +0000)]
Whoops!  One the "redundant" initializations removed by Vladimir in
the previous patch wasn't -- there was a path through the code that
bypassed all initializations.  Thanks to Just for reporting the bug!

26 years agoFix comment regex so we don't screw up structured comments with
Fred Drake [Mon, 23 Nov 1998 18:21:54 +0000 (18:21 +0000)]
Fix comment regex so we don't screw up structured comments with
different internal indentation levels.

26 years agoRewrote the section on sys.exit(), documenting other argument types
Guido van Rossum [Mon, 23 Nov 1998 17:49:53 +0000 (17:49 +0000)]
Rewrote the section on sys.exit(), documenting other argument types
than integers and recommending sys.exit("message").
(I see this as Python's answer to Perls ``die "message";''.)

26 years agoScript to squirrel around with the DOM tree of document fragments from the
Fred Drake [Mon, 23 Nov 1998 17:02:03 +0000 (17:02 +0000)]
Script to squirrel around with the DOM tree of document fragments from the
LaTeX-based ESIS streams to be a little better structured, and generally
perform clean-up.

Preliminary.

26 years agoMoved into tools/sgmlconv/.
Fred Drake [Mon, 23 Nov 1998 16:59:39 +0000 (16:59 +0000)]
Moved into tools/sgmlconv/.

26 years agoMoving to sgmlconv/ subdir.
Fred Drake [Mon, 23 Nov 1998 16:58:48 +0000 (16:58 +0000)]
Moving to sgmlconv/ subdir.

26 years agoFix up the extraction of optional parameters a little.
Fred Drake [Mon, 23 Nov 1998 16:30:18 +0000 (16:30 +0000)]
Fix up the extraction of optional parameters a little.

Be more informative in an exception message.

26 years agoDoc strings by Chris Petrilli.
Guido van Rossum [Mon, 23 Nov 1998 15:32:55 +0000 (15:32 +0000)]
Doc strings by Chris Petrilli.

26 years agoSome cleanup.
Fred Drake [Mon, 23 Nov 1998 15:14:18 +0000 (15:14 +0000)]
Some cleanup.

Don't duplicate the information on what's empty; rely on the input
data for that.  (This means that the DOM may need more work.)

26 years agoFix some minor problems.
Fred Drake [Mon, 23 Nov 1998 15:12:00 +0000 (15:12 +0000)]
Fix some minor problems.

Make the table of attribute information contain only one kind of
entry.  Simplifies some stuff in subconvert().

26 years ago(py-execute-region): Hack around the different behavior and switch
Barry Warsaw [Fri, 20 Nov 1998 03:04:07 +0000 (03:04 +0000)]
(py-execute-region): Hack around the different behavior and switch
semantics between CPython/JPython when the script source is piped to
stdin.

26 years agoFirst cut at a script to generate SGML/XML from an ESIS event stream,
Fred Drake [Wed, 18 Nov 1998 23:28:24 +0000 (23:28 +0000)]
First cut at a script to generate SGML/XML from an ESIS event stream,
probably only usable for the Python docs.  But also probably more
useful than latex2esis.py.

26 years agoFirst cut at a script to generate ESIS events from LaTeX source,
Fred Drake [Wed, 18 Nov 1998 23:27:24 +0000 (23:27 +0000)]
First cut at a script to generate ESIS events from LaTeX source,
probably only usable for the Python docs.

26 years agoBomb on deleting a temporary breakpoint: there's no method
Guido van Rossum [Wed, 18 Nov 1998 15:56:06 +0000 (15:56 +0000)]
Bomb on deleting a temporary breakpoint: there's no method
do_delete(); do_clear() was meant.  By Greg Ward.

26 years agoA little more tweakage
Barry Warsaw [Wed, 18 Nov 1998 03:45:09 +0000 (03:45 +0000)]
A little more tweakage

26 years agoA little more tweakage
Barry Warsaw [Wed, 18 Nov 1998 03:32:43 +0000 (03:32 +0000)]
A little more tweakage

26 years agoA bit of tweakage of the --help and --version options
Barry Warsaw [Wed, 18 Nov 1998 03:28:45 +0000 (03:28 +0000)]
A bit of tweakage of the --help and --version options

26 years ago(ChipViewer): Make frame sticky NSEW to fix geometry problem.
Barry Warsaw [Wed, 18 Nov 1998 03:15:19 +0000 (03:15 +0000)]
(ChipViewer): Make frame sticky NSEW to fix geometry problem.

26 years agotweak version number
Barry Warsaw [Wed, 18 Nov 1998 03:09:18 +0000 (03:09 +0000)]
tweak version number

26 years agoUpdate
Barry Warsaw [Wed, 18 Nov 1998 00:27:14 +0000 (00:27 +0000)]
Update

26 years agoUpdating
Barry Warsaw [Wed, 18 Nov 1998 00:21:09 +0000 (00:21 +0000)]
Updating

26 years agoEliminate remaining \verb/.../ constructs; there's no need for them.
Fred Drake [Tue, 17 Nov 1998 21:59:04 +0000 (21:59 +0000)]
Eliminate remaining \verb/.../ constructs; there's no need for them.

26 years ago(py-execute-region): Patch by Hunter Kelly so that execution uses the
Barry Warsaw [Tue, 17 Nov 1998 19:24:47 +0000 (19:24 +0000)]
(py-execute-region): Patch by Hunter Kelly so that execution uses the
correct Python shell (CPython or JPython).

26 years agoRemove some redundant initializations -- patch by Vladimir Marangozov.
Guido van Rossum [Tue, 17 Nov 1998 17:02:51 +0000 (17:02 +0000)]
Remove some redundant initializations -- patch by Vladimir Marangozov.

26 years agoAccept a non-list sequence for the long options (request by Jack Jansen).
Guido van Rossum [Tue, 17 Nov 1998 04:16:37 +0000 (04:16 +0000)]
Accept a non-list sequence for the long options (request by Jack Jansen).

Because it might be a common mistake to pass a single string, this
situation is treated separately.

Since we were making a copy of the longopts list anyway, we now use
the list() function -- this made it necessary to change all uses of
the local variable (and argument) 'list' to something more meaningful,
i.e., 'opts'.

Also added docstrings (copied from the library manual) and removed the
(now redundant) module comments.

26 years agoRajGopal Srinivasan noted that the latest code doesn't work when
Guido van Rossum [Tue, 17 Nov 1998 03:45:24 +0000 (03:45 +0000)]
RajGopal Srinivasan noted that the latest code doesn't work when
running in a non-threaded environment.  He added some #ifdefs that fix
this.

26 years agoRemove dead code discovered by Vladimir Marangozov.
Guido van Rossum [Mon, 16 Nov 1998 22:46:30 +0000 (22:46 +0000)]
Remove dead code discovered by Vladimir Marangozov.

26 years agoFix typo in doc for handle(): client_request should be client_address.
Guido van Rossum [Mon, 16 Nov 1998 19:07:04 +0000 (19:07 +0000)]
Fix typo in doc for handle(): client_request should be client_address.
Noted by Stefan Witzel.

26 years agoFix typo in docstring: client_request should be client_address.
Guido van Rossum [Mon, 16 Nov 1998 19:06:30 +0000 (19:06 +0000)]
Fix typo in docstring: client_request should be client_address.
Noted by Stefan Witzel.

26 years agoMake tuples less hungry -- an extra item was allocated but never used.
Guido van Rossum [Mon, 16 Nov 1998 18:56:03 +0000 (18:56 +0000)]
Make tuples less hungry -- an extra item was allocated but never used.
Tip by Vladimir Marangozov.

26 years agoClarify portability and main program.
Guido van Rossum [Mon, 16 Nov 1998 18:37:42 +0000 (18:37 +0000)]
Clarify portability and main program.

26 years agoAdded intro for 0.1 release and append Grail notes.
Guido van Rossum [Mon, 16 Nov 1998 18:34:26 +0000 (18:34 +0000)]
Added intro for 0.1 release and append Grail notes.

26 years agoUpdate the example in "Calling Python Functions from C" to use
Fred Drake [Mon, 16 Nov 1998 18:34:07 +0000 (18:34 +0000)]
Update the example in "Calling Python Functions from C" to use
METH_VARARGS conventions and PyArg_ParseTuple(), and document the flag
and where to look for PyArg_ParseTuple() info.

Response to comment from Don Bashford <bashford@scripps.edu>.

26 years agoDocument the user and password parameters to the NNTP constructor.
Fred Drake [Mon, 16 Nov 1998 17:11:30 +0000 (17:11 +0000)]
Document the user and password parameters to the NNTP constructor.

26 years agoAdded a None button to turn off all input sources.
Barry Warsaw [Mon, 2 Nov 1998 22:48:56 +0000 (22:48 +0000)]
Added a None button to turn off all input sources.

26 years agoClarify the default buffering for open(). (Comment from Andrew Dalke
Fred Drake [Mon, 2 Nov 1998 18:57:34 +0000 (18:57 +0000)]
Clarify the default buffering for open().  (Comment from Andrew Dalke
<dalke@bioreason.com>).

26 years agoFix Barry's markup.
Fred Drake [Mon, 2 Nov 1998 17:23:25 +0000 (17:23 +0000)]
Fix Barry's markup.

26 years agoWarn that AddModule doesn't import the module.
Guido van Rossum [Mon, 2 Nov 1998 17:02:42 +0000 (17:02 +0000)]
Warn that AddModule doesn't import the module.

26 years agoMetrowerks PRO4 finally fixes the hypot snafu. (Jack Jansen)
Guido van Rossum [Mon, 2 Nov 1998 16:21:39 +0000 (16:21 +0000)]
Metrowerks PRO4 finally fixes the hypot snafu.  (Jack Jansen)

26 years agoMoved zmod and poly descriptions to the Obsolete section.
Fred Drake [Mon, 2 Nov 1998 15:46:21 +0000 (15:46 +0000)]
Moved zmod and poly descriptions to the Obsolete section.

26 years agoDeclaring zmod and poly obsolete. They have problems.
Guido van Rossum [Mon, 2 Nov 1998 15:38:51 +0000 (15:38 +0000)]
Declaring zmod and poly obsolete.  They have problems.

26 years agoProject files converted for CW Pro 4. And the daylight savings time switch seems...
Jack Jansen [Sun, 1 Nov 1998 22:11:33 +0000 (22:11 +0000)]
Project files converted for CW Pro 4. And the daylight savings time switch seems to have "modified" the resource files (but nothing has changed there).

26 years agoIf the module SUNAUDIODEV was generated on an older version of
Barry Warsaw [Sun, 1 Nov 1998 07:17:24 +0000 (07:17 +0000)]
If the module SUNAUDIODEV was generated on an older version of
Solaris, the `CD' macro won't exist in the header file, so this will
raise a NameError.

26 years agoMainWindow.__init__(): Move the import of Tkinter to here so that
Barry Warsaw [Sun, 1 Nov 1998 07:13:14 +0000 (07:13 +0000)]
MainWindow.__init__(): Move the import of Tkinter to here so that
command line operation is (much) faster.

26 years agoAdded a version number, --version, and updated the docstring.
Barry Warsaw [Sun, 1 Nov 1998 07:10:51 +0000 (07:10 +0000)]
Added a version number, --version, and updated the docstring.

26 years agoRewrite, simplification of command line option parsing. Many GUI
Barry Warsaw [Sun, 1 Nov 1998 07:03:55 +0000 (07:03 +0000)]
Rewrite, simplification of command line option parsing.  Many GUI
fixes.  Input sources are mutually exclusive.

26 years agoDocument the new features of this module
Barry Warsaw [Sat, 31 Oct 1998 23:19:00 +0000 (23:19 +0000)]
Document the new features of this module

26 years agoaudio(7I) suggests that applications do the following to get the
Barry Warsaw [Sat, 31 Oct 1998 22:52:54 +0000 (22:52 +0000)]
audio(7I) suggests that applications do the following to get the
device and control pseudo-device:

- first look for the device filename in the environment variable
  AUDIODEV.

- if not found, use /dev/audio

- calculate the control device by tacking "ctl" onto the base device
  name.

We now do this.  Also, if the open fails, we call
PyErr_SetFromErrnoWithFilename() to give a more informative error
message.

Added a fileno() method to the audio object returned from open().
This returns the file descriptor which can be used by applications to
set up SIGPOLL notification, as per the manpage.