Staging
v0.5.1
https://github.com/python/cpython
Revision 549171e1ab84e9812965050d25ab2e25dbb8d90a authored by Trent Nelson on 18 March 2008, 07:32:47 UTC, committed by Trent Nelson on 18 March 2008, 07:32:47 UTC
    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.
1 parent b3635f9
History
Tip revision: 549171e1ab84e9812965050d25ab2e25dbb8d90a authored by Trent Nelson on 18 March 2008, 07:32:47 UTC
The behaviour of winsound.Beep() seems to differ between different versions of Windows when there's either:
Tip revision: 549171e
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
PCbuild8
Parser
Python
RISCOS
Tools
.hgtags -rw-r--r-- 3.8 KB
LICENSE -rw-r--r-- 13.4 KB
Makefile.pre.in -rw-r--r-- 34.6 KB
README -rw-r--r-- 53.8 KB
configure -rwxr-xr-x 612.4 KB
configure.in -rw-r--r-- 96.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 26.7 KB
setup.py -rw-r--r-- 67.4 KB

README

back to top