On 02/14/2020 04:53 AM, Soni L. wrote:
That's not traits. That's its own thing. That's not even mixins, it just seems to be type-checked attributes. Nobody has implemented actual traits in Python yet, only mixins with extra steps and there are 2 libraries providing these type-checked attributes and calling them "traits" for whatever reason (they're not).
Probably because the word "traits" can be applied to more than one thing: - a person's traits - a family's traits - a language's traits - an attribute's traits - a class' traits - etc., etc. -- ~Ethan~ _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/ZF2BFFNEGHZI4HENVN3PDXJJ45P6CUIG/ Code of Conduct: http://python.org/psf/codeofconduct/
