python-sounddevice
python-sounddevice copied to clipboard
On the `windows` platform, `Exception` error messages in Python 3.8 or Python 3.9 will be suppressed
import sounddevice
1 / 0
As long as I am on the Windows platform and the Python version is lower than 3.10, when executing this code, the program will silently exit without printing any error messages in the terminal.
This issue does not occur on any python version of Linux, nor does it occur on Windows with Python 3.10 or above.
Thanks for reporting this.
I don't have access to a Windows system, so I tried it with GitHub Actions (https://github.com/mgeier/python-sounddevice/actions/runs/15259522483), but I couldn't reproduce the problem.
#61, #166 might be related?
Either way, Python 3.9 will be EOL soon.
But if anyone knows a simple solution, let me know, and we can still fix it until then.