#15989: Python 3 preparation: Change print statement to print() function
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  wluebbe                |
           Type:         |       Status:  needs_review
  enhancement            |
       Priority:  major  |    Milestone:  sage-7.3
      Component:         |   Resolution:
  python3                |
       Keywords:         |    Merged in:
  python3                |
        Authors:         |    Reviewers:
  Frédéric Chapoton      |
Report Upstream:  N/A    |  Work issues:
         Branch:         |       Commit:
  public/15989           |  5f1e4dac9b15acec900682525e391a40ecaec471
   Dependencies:         |     Stopgaps:
-------------------------+-------------------------------------------------

Comment (by jmantysalo):

 Fails for me:

 {{{
 [sagelib-7.3.beta6] Compiling sage/rings/finite_rings/element_ntl_gf2e.pyx
 because it changed.
 [sagelib-7.3.beta6] [1/1] Cythonizing
 sage/rings/finite_rings/element_ntl_gf2e.pyx
 [sagelib-7.3.beta6]
 [sagelib-7.3.beta6] Error compiling Cython file:
 [sagelib-7.3.beta6]
 ------------------------------------------------------------
 [sagelib-7.3.beta6] ...
 [sagelib-7.3.beta6]         # Set the modulus.
 [sagelib-7.3.beta6]         self.F.restore()
 [sagelib-7.3.beta6]         # Print the current modulus.
 [sagelib-7.3.beta6]         cdef GF2XModulus_c modulus = GF2E_modulus()
 [sagelib-7.3.beta6]         cdef GF2X_c mod_poly =
 GF2XModulus_GF2X(modulus)
 [sagelib-7.3.beta6]         print(GF2X_to_PyString(&mod_poly))
 [sagelib-7.3.beta6]                              ^
 [sagelib-7.3.beta6]
 ------------------------------------------------------------
 [sagelib-7.3.beta6]
 [sagelib-7.3.beta6] sage/rings/finite_rings/element_ntl_gf2e.pyx:220:30:
 Cannot convert Python object to 'GEN'
 }}}

--
Ticket URL: <https://trac.sagemath.org/ticket/15989#comment:15>
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