Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #61745
| Date | 2013-12-12 11:26 -0800 |
|---|---|
| Subject | ABC hackery |
| From | Demian Brecht <demianbrecht@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4016.1386876800.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
ABC hackery Demian Brecht <demianbrecht@gmail.com> - 2013-12-12 11:26 -0800
csiph-web