enthought / enthought/enable

Deal with buggy implicit use of Undefined truthiness

Open
#722 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

See discussion:
https://github.com/enthought/enable/pull/715#issuecomment-799483780

one relevant code block is:
https://github.com/enthought/enable/blob/8d8a4de91c2396c8f25e2ca91ceffcc580b81fa8/enable/tools/drag_tool.py#L155-L157

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.