ImageEngine / cortex

Libraries for visual effects software development
Other
528 stars 123 forks source link

IECoreBinding : Use `Py_ssize_t` #1411

Closed ericmehl closed 4 months ago

ericmehl commented 6 months ago

MSVC has SSIZE_T, but not ssize_t, which is not part of the standard it seems. Python's pyport.h file does a typedef for it (typedef ssize_t Py_ssize_t), but something must have changed between Python 3.7 and 3.10 that causes that to not be included from what we're using. It does seem that the official recommendation is to use Py_ssize_t now.

This is needed for building Cortex with Python 3.10 dependencies packages.

Checklist