summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSteven Bethard <steven.bethard@gmail.com>2008-03-18 19:04:32 +0000
committerSteven Bethard <steven.bethard@gmail.com>2008-03-18 19:04:32 +0000
commit89065753803cc65eded79ceae04aac6d1b8526a0 (patch)
tree7137bf68fa7b9e462b6b01a0f921e2f84a903c2c /Python/pythonrun.c
parentb865f05a0f3eed342c54c4cf55c1281124f15484 (diff)
downloadcpython-git-89065753803cc65eded79ceae04aac6d1b8526a0.tar.gz
_have_soundcard() is a bad check for winsound.Beep, since you can have a soundcard but have the beep driver disabled. This revision basically disables the beep tests by wrapping them in a try/except. The Right Way To Do It is to come up with a _have_enabled_beep_driver() and use that.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions