Interface? Was: Base class for Shapes?
Bernhard Herzog
bh at intevation.de
Mon Mar 7 19:19:37 CET 2005
Jan-Oliver Wagner <jan at intevation.de> writes:
> On Fri, Nov 26, 2004 at 07:31:22PM +0100, Bernhard Herzog wrote:
>> class IShape(Interface):
>
> What Interface class are you using here?
I just wanted to play around with interfaces a bit, so I wrote my own:
class Interface:
pass
> At a quick search I only found the proposal of Gonçalo Rodrigues:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/164901
Better is probably
http://www.zope.org/Wikis/Interfaces/FrontPage
http://peak.telecommunity.com/PyProtocols.html
Or for a bit of history (apparently the interface ideas date back to 1998):
http://www.zope.org/Members/jim/PythonInterfaces/Summary
Bernhard
--
Intevation GmbH http://intevation.de/
Skencil http://skencil.org/
Thuban http://thuban.intevation.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)