On 12 Jun., 08:56, Robert Bradshaw <rober...@math.washington.edu>
wrote:
> Sage is preparsed. ...

... and the preparser is not used on .pyx and .py files.

So, when you write 3 in a .pyx file, it becomes a python int, but if
you write 3 on the Sage command line, it is interpreted (by the
preparser) as a Sage integer.

However, if I am not mistaken, Cython code *is* preparsed if it is put
into a .spyx (not .pyx) filed.

Cheers,
Simon

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

Reply via email to