simpleeval icon indicating copy to clipboard operation
simpleeval copied to clipboard

`and` operator bug

Open raheelsayeed opened this issue 1 year ago • 2 comments

simpleeval.simple_eval('(Age_21 == True) and (asdfasdfs == False)', names={'Age_21': 21}

The above ends without raising exception with a False. Replacing and with or does raise an exception

raheelsayeed avatar Feb 15 '24 22:02 raheelsayeed