Status: Accepted
Owner: asmeurer
CC: matt...@gmail.com
Labels: Type-Defect Priority-Medium

New issue 2518 by asmeurer: Problems with default variable definitions in live.sympy.org
http://code.google.com/p/sympy/issues/detail?id=2518

Here's a session from live.sympy.org.

f(x)
Traceback (most recent call last):
File "/base/data/home/apps/sympy-live/1.351435452566315183/shell.py", line 214, in evaluate
    exec compiled in statement_module.__dict__
  File "<string>", line 1, in <module>
NameError: name 'f' is not defined

x
x

f = Function('f')

f(x)
Traceback (most recent call last):
File "/base/data/home/apps/sympy-live/1.351435452566315183/shell.py", line 214, in evaluate
    exec compiled in statement_module.__dict__
  File "<string>", line 1, in <module>
NameError: name 'x' is not defined

x = Symbol('x')

f(x)
f(x)

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to