Dear all,

I want to turn out the Sage preparser in some doctests. Doing the naive

  sage: preparser(False)
  sage: type(1)

will show <type 'sage.rings.integer.Integer'> and not <type 'int'> as I
expected. The main goal is to properly demonstrate this feature in the
thematic tutorial [cvxopt]. The latter is currently "turning off" the
preparser by writing

  sage: Integer = int
  sage: RealNumber = float

This problem appeared while I was working on deprecating `RealNumber` and `ComplexNumber` [#13110].


[cvxopt]http://doc.sagemath.org/html/en/thematic_tutorials/numerical_sage/cvxopt.html

 [#13110] https://trac.sagemath.org/ticket/13110#


Vincent

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

Reply via email to