On Mon, Nov 14, 2011 at 03:15:41PM -0800, Simon King wrote:
> Hi Florent,
> 
> On 15 Nov., 00:05, Florent Hivert <florent.hiv...@lri.fr> wrote:
> > For the record, I think I answered all of this on #12029.
> 
> Your code seems to work, but you didn't answer my question. Since the
> only difference to my code is your use of PyInt_FromLong, I don't see
> yet  why it works, while my code doesn't.
> 
> I was using Py_INCREF on an int. Should PyINCREF only be used on an
> object, perhaps?

Yes ! See my other answer. We should synchonize on IRC next time ;-)

I'm off to bed.

Florent

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to