On 6 12 ,   8 08 , "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> 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

The problem is obviously compiler involved.
But I don't know why the sizeof INT64 is changed to be 4.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to