On Tue, Sep 18, 2012 at 2:20 PM, gsagrawal <[email protected]> wrote:
>
> Actually i am using eclipse for debugging. But at the step of eval it goes
> into python code ,from there it make calls to sympy code.
> So here some how it is making call directly to set binary operator (of
> property decorator)

Again, no debugger here, but I imagine that the `__add__` method gets
called and that (e.g. in expr.py) makes a call to Add which derives
from AssocOp so AssocOp handles the `__new__` or `__init__` ... which
calls to the flatten routine (in this case, Add's) and eventually
returns the expression. If you set a breakpoint in Add.flatten, you
should see the execution hit that point.

/c

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
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/sympy?hl=en.

Reply via email to