> anyway, i'm floundering around a bit and making a bit of a mess of the > code, looking for where LONG_MAX is messing up.
fixed with this: PyObject * PyInt_FromSsize_t(Py_ssize_t ival) { if ((long)ival >= (long)LONG_MIN && (long)ival <= (long)LONG_MAX) { return PyInt_FromLong((long)ival); } return _PyLong_FromSsize_t(ival); } raised as http://bugs.python.org/issue4880 next bug: distutils.sysconfig.get_config_var('srcdir') is returning None (!!) -- http://mail.python.org/mailman/listinfo/python-list