enable icon indicating copy to clipboard operation
enable copied to clipboard

Deal with buggy implicit use of Undefined truthiness

Open aaronayres35 opened this issue 4 years ago • 0 comments

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.

aaronayres35 avatar Mar 15 '21 15:03 aaronayres35