New submission from Alexander Riccio:

A really minor issue (probably qualifies for the "easy" keyword):

sound_msgbeep (in http://svn.python.org/projects/python/trunk/PC/winsound.c) 
doesn't check the return value of MessageBeep 
(https://msdn.microsoft.com/en-us/library/windows/desktop/ms680356.aspx). This 
is a very minor issue, but the possibility of failure is not mentioned in the 
winsound documentation. Invisible failures are quite surprising.


A message in the Gnome archives 
(https://mail.gnome.org/archives/commits-list/2010-November/msg01938.html) has 
an example "fix".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25387>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to