Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium

New issue 2560 by asmeurer: Id should be a Singleton
http://code.google.com/p/sympy/issues/detail?id=2560

In [35]: a = Lambda(x, x)

In [36]: b = Lambda(y, y)

In [37]: a
Out[37]: Lambda(_x, _x)

In [38]: b
Out[38]: Lambda(_x, _x)

In [39]: a is b
Out[39]: True

In [40]: S.Id
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)

/Users/aaronmeurer/Documents/python/sympy/sympy-scratch/<ipython console> in <module>()

AttributeError: 'SingletonRegistry' object has no attribute 'Id'

Since Id seems to be singletonized, it should be in S.

--
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.

Reply via email to