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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4