[Zope3-Users] Re: How to manually define an object's provided interfaces?

2006-05-30 Thread Philipp von Weitershausen
Janko Hauser wrote: >> OK - this was a bit confusing. One more try: >> >> I want to make an object provided one interface (IFile) always and one >> interface (IImage) "sometimes". Sometimes means "whenever libmagic >> thinks, >> the file is an Image". I don't want to modify any interface but onl

Re: [Zope3-Users] Re: How to manually define an object's provided interfaces?

2006-05-29 Thread Frank Burkhardt
Hi, On Mon, May 29, 2006 at 02:50:02PM +0200, j.kartnaller wrote: > Have a look at zope.interface.__init__.py -> alsoProvides That's it - it's working :-) . Thank you, Frank ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailma

[Zope3-Users] Re: How to manually define an object's provided interfaces?

2006-05-29 Thread j.kartnaller
Have a look at zope.interface.__init__.py -> alsoProvides Jürgen Frank Burkhardt wrote: Hi, On Mon, May 29, 2006 at 01:31:03PM +0200, Lennart Regebro wrote: On 5/29/06, Frank Burkhardt <[EMAIL PROTECTED]> wrote: I'm going to write an alternative implementation of zope.app.file.interfaces.IFi