On Wed, Dec 15, 2010 at 12:15 AM, Kwankyu Lee <ekwan...@gmail.com> wrote:
> Hi,
>
> Perhaps it is well known to others except me (until a moment ago) that
> the following code
>
> print vector([1,0,1])
>
> is loaded and executed if it is contained in a file named like
> "test.sage", but results in error if the file name is changed to
> "test.spyx". The Sage Tutorial says as if there is no difference
> except in speedup in the spyx case.
>
> Of course, Sage-support suggests to include at the top of the file:
>
> from sage.all import whatever you need
>
> For the Tutorial to be good to its words, then why does not Sage
> simply put
>
> from sage.all import *
>
> at the top of the file while preparsing? Is there a problem in
> efficiency?

It's because Pyrex/Cython didn't used to support import *.

- Robert

-- 
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