On 6/29/2013 11:59 AM, Tamir Friedman wrote:
Hello,
My name is Tamir Friedman, and I suggest to fix a bug in PlaySound in
winsound library. It's doesn't support the SND_MEMORY feature because
its accepts only "str" and rejects "bytes" type.
therefore i include the fixed source file:

Thank you for tracking down the source of a problem. Please make an account at bugs.python.org and open a tracker issue. A post here will get lost. On the issue, either upload a patch file or describe the change. As near as I can tell, the description for your change might be:

"winsound.c, line NN in sound_playsound function, is currently
      if (PyArg_ParseTuple(args, "Zi:PlaySound", &wsound, &flags)) {
I think 'Zi' should be changed for 'z*i' because ..."


--
Terry Jan Reedy

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to