Skip to content

Deal with buggy implicit use of Undefined truthiness #722

@aaronayres35

Description

@aaronayres35

See discussion:
#715 (comment)

one relevant code block is:

button_down = getattr(event, self.drag_button + "_down")
if state == "nondrag":
if (button_down

it is possible the truth value of Undefined is being used elsewhere in the code base, and in general this is something we should aim to avoid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions