[Python-ideas] Simpler Customization of Class Creation - PEP 487
Martin Teichmann
lkb.teichmann at gmail.com
Mon Feb 15 03:31:07 EST 2016
Hi List,
I thought it was a good idea to show that projects can benefit from PEP 487 out
there in the real world. As a showcase example I chose IPython traitlets, and it
was a nice success. With only little modifications to the traitlets code it uses
a PEP 487 style metaclass, and all tests pass unmodified with both Python 2
and 3. You can find the PEP 487 style IPython traitlets here:
https://github.com/tecki/traitlets/tree/pep487
Greetings
Martin
More information about the Python-ideas
mailing list