Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61745 > unrolled thread

ABC hackery

Started byDemian Brecht <demianbrecht@gmail.com>
First post2013-12-12 11:26 -0800
Last post2013-12-12 11:26 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  ABC hackery Demian Brecht <demianbrecht@gmail.com> - 2013-12-12 11:26 -0800

#61745 — ABC hackery

FromDemian Brecht <demianbrecht@gmail.com>
Date2013-12-12 11:26 -0800
SubjectABC hackery
Message-ID<mailman.4016.1386876800.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web