[issue25387] sound_msgbeep doesn't check the return value of MessageBeep

Zachary Ware report at bugs.python.org
Sun Aug 14 16:58:49 EDT 2016


Zachary Ware added the comment:

Here's a patch.  This has the possibility of breaking existing code, but the fix is simple (just catch RuntimeError) and is probably more in line with what's expected.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file44106/check_msgbeep_error.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25387>
_______________________________________


More information about the Python-bugs-list mailing list