En Tue, 12 Jun 2007 08:39:43 -0300, Allen <[EMAIL PROTECTED]> escribió:
> PyObject* method(PyObject* self, PyObject *args) > { > INT64 nValue; /* LINE_HERE */ > INT32 nRet; > nRet = DoSomeCOperations(nValue); > return PyBuildValue("i", nRet); > } > > If I changed INT64 nValue to be static INT64 nValue at LINE_HERE, it > is ok. > Why? I don't know, but I don't see either where Python is involved... you don't use any argument and the returned Python object is not an INT64... -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list