-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hello, I ran into this issue after upgrading from Python 3.9 to Python 3.11 recently.
Apparently the MACRO PY_SSIZE_T_CLEAN must be defined in py3c.h before including python.h
https://docs.python.org/3/c-api/arg.html#strings-and-buffers
Otherwise it leads to
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels