#20226: Implement conversion PARI <-> Python int/long without GMP/MPIR
-------------------------------------+-------------------------------------
       Reporter:  jdemeyer           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.2
      Component:  interfaces         |   Resolution:
       Keywords:  days77             |    Merged in:
        Authors:  Jeroen Demeyer     |    Reviewers:  Luca De Feo, Vincent
Report Upstream:  N/A                |  Delecroix
         Branch:                     |  Work issues:
  u/jdemeyer/ticket/20226            |       Commit:
   Dependencies:                     |  b55085547315715f292fd08ce74ad5a437abc6a5
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 In Python 3 `(<PyLongObject*>x).ob_size` just don't compile
 {{{
 .../cython_test.c: In function ‘__pyx_pf_11cython_test_f’:
 .../cython_test.c:593:61: error: ‘PyLongObject’ has no member named
 ‘ob_size’
    __pyx_t_1 = PyInt_FromSsize_t(((PyLongObject *)__pyx_v_s)->ob_size); if
 (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 8;
 __pyx_clineno = __LINE__; goto __pyx_L1_error;}
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20226#comment:35>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to