Status: New
Owner: ----
Labels: Type-Defect Priority-Critical

New issue 3771 by [email protected]: NameError soon after using last result (_)
http://code.google.com/p/sympy/issues/detail?id=3771

Python console for SymPy 0.7.2 (Python 2.5.2)

These commands were executed:
from __future__ import division
from sympy import *
x, y, z, t = symbols('x y z t')
k, m, n = symbols('k m n', integer=True)
f, g, h = symbols('f g h', cls=Function)

Documentation can be found at http://docs.sympy.org/.

d = Symbol("d")
d
d

d-_
0

type(_)
<class′sympy.core.numbers.Zero′>

d
d

d+2
Exception in SymPy Live of type
<type 'exceptions.NameError'>
for reference the last 5 stack trace entries are
Traceback (most recent call last):
File "/base/data/home/apps/s~sympy-live-hrd/34.366402816395225014/shell.py", line 760, in post
    live.evaluate(statement, session, printer, stream)
File "/base/data/home/apps/s~sympy-live-hrd/34.366402816395225014/shell.py", line 364, in evaluate
    exec code in statement_module.__dict__
  File "<string>", line 1, in <module>
NameError: name 'd' is not defined
d = Symbol("s")
Exception in SymPy Live of type
<type 'exceptions.NameError'>
for reference the last 5 stack trace entries are
Traceback (most recent call last):
File "/base/data/home/apps/s~sympy-live-hrd/34.366402816395225014/shell.py", line 760, in post
    live.evaluate(statement, session, printer, stream)
File "/base/data/home/apps/s~sympy-live-hrd/34.366402816395225014/shell.py", line 364, in evaluate
    exec code in statement_module.__dict__
  File "<string>", line 1, in <module>
NameError: name 'd' is not defined

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to