commit | 549171e1ab84e9812965050d25ab2e25dbb8d90a | [log] [tgz] |
---|---|---|
author | Trent Nelson <trent.nelson@snakebite.org> | Tue Mar 18 07:32:47 2008 +0000 |
committer | Trent Nelson <trent.nelson@snakebite.org> | Tue Mar 18 07:32:47 2008 +0000 |
tree | 5d300fcf29f7017a9dc8d0259db485d74d7ac652 | |
parent | b3635f99a23bcec31e73f4021c32c41a03152304 [diff] |
The behaviour of winsound.Beep() seems to differ between different versions of Windows when there's either: a) no sound card entirely b) legacy beep driver has been disabled c) the legacy beep driver has been uninstalled Sometimes RuntimeErrors are raised, sometimes they're not. If _have_soundcard() returns False, don't expect winsound.Beep() to raise a RuntimeError, as this clearly isn't the case, as demonstrated by the various Win32 XP buildbots.