Open pombredanne opened 7 years ago
This would eventually keep the python boolean logic completely separate from this library boolean logic.
Alternatively, this could be something that could be made optional and not available on a systematic basis.
Ping? any feedback on this?
@Kronuz @bastikr I am not sure that I have a need to build boolean expression using overloaded operators in Python and this introduces subtle bias and behaviors in many places.
Do you have a use for them? (as opposed to build an expression from a parsed string or building an expression from nested Python objects)
This would mean dropping the dunder methods from here: https://github.com/bastikr/boolean.py/blob/3746d222ee963a9f55c9cfa0322f17132de92b00/boolean/boolean.py#L730
__and__
,__mul__
,__invert__
,__or__
and__add__
and possibly__nonzero__
and__bool__