Re: [Zope3-dev] Multi Interface Types Registration

2005-04-25 Thread Dominik Huber
Stephan Richter wrote: IMO multi-typed interfaces would make sense. Would you have any objections if I change the code the following way: module: zope.app.component.interface.py, line 78 75if iface_type is not None: 76if not iface_type.extends(IInterface): 77raise TypeError(

Re: [Zope3-dev] Multi Interface Types Registration

2005-04-25 Thread Jim Fulton
Dominik Huber wrote: Hi Stephan, Is there a specific reason why only one interface type is directly provided per interface? If two types are registered for one interface the first type is chucked out of the interface during the registration of the second, but the first stays still registered with

Re: [Zope3-dev] Multi Interface Types Registration

2005-04-25 Thread Stephan Richter
On Monday 25 April 2005 07:26, Dominik Huber wrote: > Is there a specific reason why only one interface type is directly > provided per interface? > If two types are registered for one interface the first type is chucked > out of the interface during the registration of the second, Right. > but t

[Zope3-dev] Multi Interface Types Registration

2005-04-25 Thread Dominik Huber
Hi Stephan, Is there a specific reason why only one interface type is directly provided per interface? If two types are registered for one interface the first type is chucked out of the interface during the registration of the second, but the first stays still registered within the utitlity servi