This is a minor release of the Traits package. The most significant change is to the type
stubs, which should now be better behaved for common uses of the Instance trait type.
The following people contributed code changes and reviews for this release:
- Mark Dickinson
- Guillaume Garcia
- Ioannis Tziakos
Fixes
- Make
Instancetype hints more useful. (#1840) - Remove type hints on
IntEnummembers. (#1856) - Fixed subclassing support in trait-documenter. (#1866)
- Fix
TraitChangeNotifyWrapperhandling of compiled methods; the previous strict type
check was causing issues with Nuitka. (#1850) - Fix failure of
clone_traitsin the presence of dynamic traits. (#1846)
Tests
- Fix that we weren't actually running
mypyin some of the stubs tests. (#1838)