[Python-Dev] Re: [Import-sig] Re: Proposal for a modified import mechanism.

Prabhu Ramachandran Prabhu Ramachandran <prabhu@cyberwaveindia.com>
Tue, 13 Nov 2001 14:08:31 +0530


>>>>> "MP" == Michel Pelletier <michel@zope.com> writes:

    MP> I'm actually sort of interested in more about the idea of
    MP> 'looking up' for packages that Prabhu mentioned and think it
    MP> could be very useful.  In Zope we call this "acquisition" and
    MP> we use this pattern many, many times to override general site
    MP> policies and objects with more specific ones the farther
    MP> "down" you go in the object heirarchy.  This not only gives us
    MP> a nice customization model, but it also gives us a nice
    MP> delegation model, ie, those responsible on high (that's all of
    MP> you) can dictate what is and is not the standard library
    MP> "policy" and users below you (that's me and all the other
    MP> lusers) can specificly override that mandate at a lower level
    MP> without interfering with other users.

Yes, this is a nicer and probably more convincing use/argument than I
had proposed.

prabhu