Comment #5 on issue 2960 by [email protected]: It right 0 < x < 1 ?
http://code.google.com/p/sympy/issues/detail?id=2960

* Through the use of a second global (well, it needn't be a global, but it must be some storage that is accessible and external to, in this case, LT and test), I would think it would be possible to clear it. Just not immediately when you might think.

No, it doesn't have to be cleared immediately, but it does have to be cleared before the next time it is needed. Otherwise, something like

if a < b:
    print b < c < d

would print a < b < c < d.  How exactly do you propose to clear it?

* A similar approach might be to do some polymorphism in regards to which functions are assigned to what symbol and when.

Sorry, I don't understand exactly what you're suggesting here.

* Another option that comes to mind would be do some black magic with the call stack and judicious exploration with sys._getframe, etc.

Yeah, even if we could get this to work (which it wouldn't in all cases, by the way), it wouldn't be worth it.

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