Sympy: Tuples in inequalities should raise TypeError

Created on 2 Sep 2014  路  5Comments  路  Source: sympy/sympy

S((2,5)) < x is False. By "@Tempel's principal", this should raise an exception.

core

Most helpful comment

I think that (2,5)

All 5 comments

By "@Tempel's principal"

?

@Tempel's principal: "False should not be used as a stand-in to indicate that the comparison makes no sense." :)

So, does this need decision?

I don't think so.

I think that (2,5)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivanistheone picture ivanistheone  路  6Comments

nifengcn picture nifengcn  路  5Comments

JohnStone2017 picture JohnStone2017  路  6Comments

nschloe picture nschloe  路  3Comments

rtrwalker picture rtrwalker  路  3Comments