[Python-ideas] A way out of Meta-hell (was: A (meta)class algebra)

Martin Teichmann lkb.teichmann at gmail.com
Tue Feb 17 14:20:37 CET 2015


Hi again,

OK, so if my ideas don't get through, would it at least be possible
to make PEP 422 have an __init_subclass__ only initializing the
subclasses of the class? That would have the great advantage of
being back-portable as a metaclass all the way down to python 2.7.
I guess this would help PEP 422 being actually used a lot.

Greetings

Martin


More information about the Python-ideas mailing list