Dear William,

On Aug 26, 8:06 am, "William Stein" <[EMAIL PROTECTED]> wrote:
...
> Here is the typical sort of thing that happens if you don't import
> sage.all as you should.  Note the segfault and all:
>
> teragon-2:~ was$ sage -ipython
> Python 2.5.2 (r252:60911, Jul 10 2008, 00:31:06)
> Type "copyright", "credits" or "license" for more information.
>
> In [1]: from sage.rings.polynomial.multi_polynomial_libsingular import *
> ---------------------------------------------------------------------------
> NameError                                 Traceback (most recent call last)

I see. Perhaps i misunderstood what you mean:
In fact i *do* import sage.all, but then i do not import *from*
sage.all
That's to say:
import sage
import sage.all
...
from sage.matrix.constructor import Matrix

Is this safe?


> It is also a *very* good idea to call
>
>   sage.all.quit_sage()
>
> before your program terminates, by the way.

Thanks for that hint!

Yours
       Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to