traits
traits copied to clipboard
Review deprecations for potential removal
This is a placeholder issue for Traits 7.0: a reminder to review the various pieces of deprecated functionality in the Traits codebase and consider removing them.
We'll need to make the decision on a case-by-case basis - some of the deprecated features have little evidence of wider usage and are fairly safe to remove; some may need to be treated more carefully, with removal possibly deferred until Traits 8.0 or later (for example the Unicode
trait).
Note: on_trait_change
is not currently deprecated, and will not be removed in Traits 7.0!
Here's a preliminary list of candidates for removal:
- [ ] The ability to call
CTrait.default_value
with a nonzero number of arguments. - [ ]
configure_traits
support for restoration from a pickle file - [ ] The ability of
provides
to perform interface checking whenCHECK_INTERFACES
is nonzero - [ ] The
typecode
parameter toArray
andCArray
- [ ] Support for
rich_compare
metadata on traits - [ ] The
traits.testing.nose_tools
package - [ ]
_TraitsChangeCollector
support for thetrait
parameter - [ ]
HasTraits.set
andHasTraits.get
- [ ]
SingletonHasTraits
,SingletonHasStrictTraits
andSingletonHasPrivateTraits
- [ ]
MetaInterface
implicit adaptation on instantiation - [ ]
TraitPrefixList
,TraitMap
,TraitPrefixMap
- [ ]
TraitTuple
,TraitList
andTraitDict
- [ ]
Color
,RGBColor
,Font
- [ ] The
Long
trait type - [ ] The
Unicode
trait type (this one will likely have to live beyond Traits 7.0) - [ ]
AdaptedTo
as an alias forSupports
- [ ]
false
,true
,undefined
trait type aliases - [ ]
ListInt
,ListThis
and otherList*
andDict*
trait types