enthought / traits

Observable typed attributes for Python classes
Other
431 stars 85 forks source link

Move _TraitType from traits stubs to the core Traits library #1663

Open mdickinson opened 2 years ago

mdickinson commented 2 years ago

The _TraitType generic class is a potentially useful helper for others writing type declarations. I'd suggest renaming it (at least to remove the _ prefix) and moving it to a new module traits.typing.

corranwebster commented 2 years ago

I am +1 on this.