[issue27499] PY_SSIZE_T_CLEAN conflicts with Py_LIMITED_API
STINNER Victor
report at bugs.python.org
Wed Jun 10 12:48:28 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
> Oh, I can avoid this problem by setting Py_LIMITED_API to 0x30300000 or greater.
Hum, maybe the behavior is different because of the following code in Include/modsupport.h:
/* Due to a glitch in 3.2, the _SizeT versions weren't exported from the DLL. */
#if !defined(PY_SSIZE_T_CLEAN) || !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03030000
----------
nosy: +vstinner
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27499>
_______________________________________
More information about the Python-bugs-list
mailing list