Some (new) compiler warnings are generated, as the macro is already defined (manually) in some .c files. Those definitions should be removed (not sure if they previously served a purpose), considering that setup.py is the official build method, but anyway that could be the subject of another (cleanup) PR.
Note: Currently, the behavior has only been suppressed meaning that it will work just like in older Python versions, but it will not properly handle the case it was introduced for (containers having more than 2 Gi elements).
Attempt to fix #241 (also reported: [SO]: PyAudio.write SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats).
Defines PY_SSIZE_T_CLEAN in setup.py.
Some (new) compiler warnings are generated, as the macro is already defined (manually) in some .c files. Those definitions should be removed (not sure if they previously served a purpose), considering that setup.py is the official build method, but anyway that could be the subject of another (cleanup) PR.
Tests
Note: Currently, the behavior has only been suppressed meaning that it will work just like in older Python versions, but it will not properly handle the case it was introduced for (containers having more than 2 Gi elements).