On Tue, Sep 28, 2010 at 8:02 PM, Robert Collins
<[email protected]> wrote:
> Specifically, rather than a regular object, they are pseudo stateless
> - classes are used, and helpers that contain some magic code get used.

Just to clarify: I think that's a common misunderstanding. The only
contract for layers is that they have 'setUp'/'tearDown' methods and
__bases__ and it isn't specified anywhere that they must be a class.
We're happily using objects in Landscape, we just happen to set the
__bases__ attribute of those objects to 'fake' layer inheritance.

-- Sidnei

_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to