[Zope-dev] python 2.4 + _zope_proxy_proxy.c
Adam GROSZER
agroszer at gmail.com
Tue Aug 19 04:45:56 EDT 2008
Hello,
Seems that zope\app\container\_zope_proxy_proxy.c cannot be compiled
with MS compilers. With python 2.4.5, 2.4.4 and 2.4.3 on winXP.
eeeeeek, fails on linux too (debian etch+python 2.4.4)...
I'm not a C guru, with a help from a friend we figured that the
problem is the Py_ssize_t, which is available in python 2.5.
A workaround could be adding
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif
as proposed by
http://www.python.org/dev/peps/pep-0353/
Strange, that there is a zope.app.container-3.5.6-py2.4-win32.egg on
pypi.
--
Best regards,
Adam GROSZER mailto:agroszer at gmail.com
--
Quote of the day:
A handful of friends is worth more than a wagon of gold.
More information about the Zope-Dev
mailing list