On Mon, Nov 16, 2009 at 8:11 PM, Nick Alexander <ncalexan...@gmail.com> wrote:
>
>
> On 16-Nov-09, at 8:08 PM, Nick Alexander wrote:
>
>>
>>> This is because when you type "from scipy import integrate" you are
>>> overwriting the integrate function. (There can only be one thing
>>> named
>>> integrate at a time in a given scope.)
>>
>> I agree that this is the cause, but it is still a bug.  Why on earth
>> does the toplevel integrate function have anything to do with what
>> calling maxima returns?  My guess is that there's an eval() that
>> expects integrate to be defined in a certain way -- and that's a
>> faulty assumption.
>
> I see that I misread, twice!  My mistake.
>
> Nick
>

Just to add to this, in case anybody is confused, Nick's indeed
confused. The issue has nothing at all to do with Maxima:

Clean start of Sage:

sage: from scipy import integrate
sage: integrate(x)
Traceback (most recent call last):
...
TypeError: 'module' object is not callable
sage: integrate.<tab key>
... lots of options ...

scipy's integrate isn't even a function, it's a module.

William

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