Commit Graph

24 Commits

Author SHA1 Message Date
Guido van Rossum
b940e113bf SF patch 1631942 by Collin Winter:
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
2007-01-10 16:19:56 +00:00
Walter Dörwald
aaab30e00c Apply diff2.txt from SF patch http://www.python.org/sf/572113
(with one small bugfix in bgen/bgen/scantools.py)

This replaces string module functions with string methods
for the stuff in the Tools directory. Several uses of
string.letters etc. are still remaining.
2002-09-11 20:36:02 +00:00
Barry Warsaw
bc9476ebe5 __pushtodev(): Ignore transient sunaudiodev.errors when setting the
device info.  I don't know why these occur, but they seem to be
shortlived and harmless.
2000-03-29 21:05:53 +00:00
Barry Warsaw
c4eb6a6afd main(): Arg! I wasn't properly ignoring EINVAL; now only re-raise the
exception if code <> errno.EINVAL.  Jeremy this should fix your
problem.
1999-10-07 20:00:01 +00:00
Barry Warsaw
d8d179d69d main(): wrap the device.setinfo() call around an exception handler.
It's possible to get a sunaudiodev.error (errno == EINVAL), although
I'm not exactly sure why, this at least won't crash the application.
1999-09-22 15:45:51 +00:00
Barry Warsaw
8a07baef80 Bump to version 1.1 1999-08-18 20:18:20 +00:00
Barry Warsaw
772d69676e __update(): Jeremy Hylton reports occurances of sunaudiodev.error
(interrupted system call) when getting the device information.  I've
never seen it, but this patch should take care of the problem.

If we get that exception and we're polling, just return since we'll
wake up again soon and get the right information.  If we're not
polling, try 4 times and then give up.
1999-08-18 20:17:42 +00:00
Barry Warsaw
85460a58f8 updates for latest release 1999-05-01 16:27:23 +00:00
Barry Warsaw
a4b055ff89 Add a scale widget and command line options to set the output volume.
Bump version number 1.0
1999-04-28 19:32:46 +00:00
Barry Warsaw
88604056c5 "Author" -> "Contact" 1998-12-14 21:36:40 +00:00
Barry Warsaw
f622a33b29 audiopy: slightly revamped UI... includes a menubar, no quit button,
and added a `Help' menu item that puts the README (or docstring if
that can't be found) in a scrolling text widget.

README: fixed a few nits
1998-12-03 19:32:38 +00:00
Barry Warsaw
53646881f3 Initial version of the README file 1998-12-03 16:27:38 +00:00
Barry Warsaw
2858b43613 A little more tweakage 1998-11-18 03:32:43 +00:00
Barry Warsaw
d81d534aef A bit of tweakage of the --help and --version options 1998-11-18 03:28:45 +00:00
Barry Warsaw
f79b7e274c Update 1998-11-18 00:27:14 +00:00
Barry Warsaw
441abb4c8f Added a None button to turn off all input sources. 1998-11-02 22:48:56 +00:00
Barry Warsaw
d55049aede 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.
1998-11-01 07:17:24 +00:00
Barry Warsaw
9ade9ddb14 MainWindow.__init__(): Move the import of Tkinter to here so that
command line operation is (much) faster.
1998-11-01 07:13:14 +00:00
Barry Warsaw
3febc2443c Added a version number, --version, and updated the docstring. 1998-11-01 07:10:51 +00:00
Barry Warsaw
e77ec175d2 Rewrite, simplification of command line option parsing. Many GUI
fixes.  Input sources are mutually exclusive.
1998-11-01 07:03:55 +00:00
Barry Warsaw
2c8b35bdd2 some rewriting, must do command line args 1998-10-31 00:25:14 +00:00
Barry Warsaw
b7d1d63f00 Input stuff 1998-10-30 23:45:41 +00:00
Barry Warsaw
2a06084ed5 Added command line options 1998-10-30 18:21:52 +00:00
Barry Warsaw
11b7ae5121 Initial revision 1998-10-30 16:22:18 +00:00