Skip to content

Consider dropping custom Python operators #71

Open
@pombredanne

Description

@pombredanne

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

def __and__(self, other):

__and__ , __mul__ , __invert__ , __or__ and __add__ and possibly __nonzero__ and __bool__

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions