id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
10136 `log(x).operator() == log` should return `True` burcin burcin "Reported by Francois Maltey on sage-devel:
{{{
> log(x).operator() == ln # is True, yes the alias ln is better than
> the log name
> log(x).operator() == log # is False (this feature looks like the
> binomial one)
> log(x).operator() == sage.function.log.function_log # is True
}}}
We should define a `__call__()` method in the `Function_log` class from `sage/functions/log.py`, to handle the base argument. Then `ln()` and `log()` can be the same function and `log(x).operator() == log` will return `True`.
Apply [attachment:trac_10136-log_operator.patch]" defect closed major sage-6.2 symbolics fixed log, ln, function Burcin Erocal Ralf Stephan N/A a105f80b73a9c76fd1717270f5d029e794353a8b a105f80b73a9c76fd1717270f5d029e794353a8b