On Tuesday 07 February 2006 13:11, Shaun Cutts wrote:
By delegation support I mean support for being a proxy for an interface,
and delegating its fulfillment to a subobject.
Okay, the explanation helped a lot, though I do not like it. But people on the
zope.interface list might feel different.
On Monday 06 February 2006 11:53, Shaun Cutts wrote:
I've thought of several things I'd like to see in it The biggest
would obviously be (optional) type checking of method calls, together
with a more robust Method definition.
Yes, there has been suggestions in this direction before.
elsewhere easier.
-Original Message-
From: Stephan Richter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006 5:15 AM
To: zope3-dev@zope.org
Cc: Shaun Cutts
Subject: Re: [Zope3-dev] zope.schema: defaults for non-immutables...
questions
On Monday 06 February 2006 11:53, Shaun Cutts wrote
-Original Message-
From: Stephan Richter [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 05, 2006 4:40 PM
To: zope3-dev@zope.org
Cc: Gary Poster; Shaun Cutts
Subject: Re: [Zope3-dev] zope.schema: defaults for non-immutables...
questions
On Sunday 05 February 2006 14:42, Gary Poster wrote
On Tuesday 24 January 2006 12:26, Shaun Cutts wrote:
It would seem that the current default mechanism is poorly suited to
providing default values for non-immutables. For example:
class IBar( Interface ):
a = Object( schema = IFoo, default = Foo() )
Yes, this is even more apparent
On Feb 5, 2006, at 12:20 PM, Stephan Richter wrote:
On Tuesday 24 January 2006 12:26, Shaun Cutts wrote:
It would seem that the current default mechanism is poorly suited to
providing default values for non-immutables. For example:
class IBar( Interface ):
a = Object( schema = IFoo,
Shaun Cutts wrote:
It would seem that the current default mechanism is poorly suited to
providing default values for non-immutables. For example:
Mutable is a better way to say non-immutable. :-)
class IBar( Interface ):
a = Object( schema = IFoo, default = Foo() )
But if a “Foo” is
ones? Seems like this is generally useful for
introspection of metadata.
-Original Message-
From: Shane Hathaway [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 12:39 PM
To: Shaun Cutts
Cc: zope3-dev@zope.org
Subject: Re: [Zope3-dev] zope.schema: defaults for non-immutables