Thanks Dima,
this will at least allow me to do what I need.
note, I have avoided using f=x^2, for a while now due to deprecation
warnings like this:
sage: f=x^2
sage: f(5)
/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/core/
interactiveshell.py:2885:
DeprecationWarning: Substitution
I believe I have found a bug, and was not able to find any previous report
or ticket to have it fixed.
I would expect the indefinite_integral method to accept a function and
provide output, but it only works if I input the symbolic expression itself.
EX:
sage: from sage.symbolic.integration.in