ABC hackery

Demian Brecht demianbrecht at gmail.com
Thu Dec 12 14:26:45 EST 2013


Hey all,

Thought I'd share some fun I had some time ago when digging into abcs
and metaclasses: https://gist.github.com/demianbrecht/6944269. The
implementation piggy backs off of abcs to achieve "class A should look
like class B" type functionality without using inheritance.

Not recommended for anything outside of POC :)

-- 
Demian Brecht
http://demianbrecht.github.com



More information about the Python-list mailing list