flupy
flupy copied to clipboard
Fix Windows compatibility
Fixes #33.
The SIGPIPE signal is not available on Windows, so its import fails on that platform.
Upon further investigation, the SIGPIPE signal is already handled by Python by default,
so the signal(SIGPIPE, SIG_DFL) call shouldn't actually do anything...
~Currently untested on Windows, but did test that this change does not adversely affect Linux. Will remove draft status once tested on Windows.~
Changes tested on both Linux (Ubuntu 22.04, Python 3.10) and Windows (Windows 10, Python 3.12).