pyface icon indicating copy to clipboard operation
pyface copied to clipboard

Use `HasStrictTraits` for all `Widget` subclasses

Open corranwebster opened this issue 2 years ago • 1 comments

This is technically not backward compatible, but would improve code quality. The likelihood of breaking things is small, but still this change should be in a major release.

corranwebster avatar Dec 22 '21 12:12 corranwebster

Experimented with this, and the main source of breakage is with mocking methods in tests - main needed change in these cases is to mock on the class, not the instance.

It also turns up a number of places where we are using undeclared traits, so probably a first step is to fix those.

corranwebster avatar Mar 14 '23 10:03 corranwebster