From: Matej V. <ve...@de...> - 2006-12-05 18:58:22
|
Michael Str=F6der <mi...@st...> writes: > Michael Str=F6der wrote: >>=20 >> Could someone please check python-ldap to support PEP 353 (see >> http://www.python.org/dev/peps/pep-0353/) and create a patch for the >> changes required? > > I've committed some changes regarding PEP 353. I'd be glad if someone > could test python-ldap pulled from CVS on a 64-bit platform. A couple of fixes attached: * More instances of s/int/Py_ssize_t/ (some of these are unlikely to matter in practice, but might make automated testing easier). * Define PY_SSIZE_T_CLEAN before including <Python.h> to get the new semantics for 's#' and 't#'. I've put this in Modules/common.h, and included that instead of <Python.h> from the rest of the code. Other than that, seems to work fine on IA64. Cheers, Matej |