On Friday, February 27, 2015 at 8:36:52 AM UTC-8, Ralf Stephan wrote: > Which of these do not use Maxima? > You can figure that out by making sure that maxima doesn't work anymore:
sage: integrate(x,x) #trigger maxima initialization 1/2*x^2 sage: sage.libs.ecl.shutdown_ecl() #any existing ecl objects are now corrupted sage: integrate(x,x) RuntimeError: ECL says: Detected access to an invalid or protected memory address. or alternatively (this has a lighter touch) sage: integrate(x,x) 1/2*x^2 sage: sage.calculus.calculus.maxima=None sage: integrate(x,x) AttributeError: 'NoneType' object has no attribute 'sr_integral' A little warning: if we have a very bad try/except somewhere that catches arbitrary RuntimeError or AttributeError, the above trick might not quite work. To be completely sure, you should probably patch ecllib to log something anytime it gets called. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
