Updates:
Cc: ondrej.certik
Labels: NeedsReview
Comment #5 on issue 282 by smichr: symbols becoming functions
http://code.google.com/p/sympy/issues/detail?id=282
In the sense that the symbol has not been declared to be a function,
something that
can accept an argument, False (I think) is the right response. f can be a
Symbol or
it can be a Function in sympy. Right now, sympy allows a call to a Symbol
and it just
recreates that symbol as a Function. This patch (below) raises an error
instead. This
will also help to alert someone that a problem has occured with "from
sympy.abc
import *" is issued (not a great idea) since this wipes out S(), N(), and
other
single letter functions. After such an import, N(3+1) will now fail rather
than
silently start treating N like a function.
Changes for review are in smichr's 282 branch at github.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" 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-issues?hl=en.