On 17.05.2017 23:29, Ivan Levkivskyi wrote:
Are you sure? Could you point me to the relevant messages where
mixins are mentioned as a key part of the proposal? All I could find
are message using the @decorator syntaxes.
We've been working with mixins successfully for years now and I can
tell you that it's "just" a clever way of refactoring existing code
in order to make it more accessible to other modules based on
So, the best person to tell what pieces to factor out would be
Stephan using his 4-point list.
And of course other people using NamedTuple but frequently
refactoring to "attr" or own class because NamedTuple just is too
much (defines too much implicitly).
Another benefit is that NamedTuple itself would become a mere set of
base class and mixins.
Who's writing it?