Updates:
Blockedon: 1887
Comment #3 on issue 2960 by [email protected]: It right 0 < x < 1 ?
http://code.google.com/p/sympy/issues/detail?id=2960
I was thinking that something like this might be possible. Some potential
issues I see so far:
- It does require some kind of global dispatch. This might not be a bad
thing if it's implemented right, but it does require thought.
- As you noted, this won't work for if a < b: Actually it won't work for
any boolean, including booleans ands against other objects (e.g., "a < b
and True"). Is it possible to clear the dispatch in the general case? I
can't think of how to do it.
- If we can get this to work, we need to consider how it should work in
relation to issue 2832.
- If we can get it working, issue 1887 should probably be fixed first (or
at the same time), since that also changes how bool() and Relationals would
work together.
But I think right now the second bullet point is the biggest question,
because I don't see any way around it (not even a hack). But I haven't
thought about it long enough to feel that it's necessarily impossible
either.
--
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.