Interfaces

Ernesto Revilla <[email protected]> Wed, 21 Jul 2004 19:02:55 +0200
Newsgroups gmane.comp.python.modeling
Message-ID <[email protected]>
Dear Sébastien,

in the interface files, there is a:

try:
  from Interface import Base
except:
  class Base:
    pass

I can't any Interface.py.   I know Twisted and Zope z3 components have 
some  interfaces. Is this aimed at one of these or your own stuff? In 
the implementations we have something like:

from Modeling.interfaces.Adaptor import IAdaptor
...
class Adaptor:
     __implements__ = (IAdaptor,)
...

(Sounds very much like Twisted...)


Erny



---
avast! Antivirus: Saliente mensaje limpio.
Base de datos de Virus (VPS): 0430-1, 19/07/2004
Comprobado en: 21/07/2004 19:03:05
avast! tiene los derechos reservados (c) 2000-2004 ALWIL Software.
http://www.avast.com





-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click