Stéfane Fermigier wrote:
Note that there are several packages already in PyPI:
That first package is unrelated, I'm afraid: completely different meaning of the word "trait". In that case, a "trait" is an observable, typed attribute on a class. A class using traited attributes is a bit like a dataclass or an `attrs`-using class, but with the idea of notification built in: arbitrary listeners can be attached to react to changes in the attribute value. It's useful for data-driven and event-driven programming, and building scientific data models that you later want to build UIs around.
Making `trait` a keyword would be an excellent way to give Enthought developers a major headache. :-)