[Zope-dev] Acquisition wishlist :-)

Dieter Maurer dieter@handshake.de
Wed, 3 Jan 2001 22:29:45 +0100 (CET)


Chris Withers writes:
 > Hmmm, I guess I like the way it is but my wishlist (damn, Christmas just
 > gone ;-) would be:
 > 
 > for Acquisiton.Implicit, be able to do something like:
 > 
 > class MyClass (Acquisition.Implicit):
 > 
 > 	acquisition = ClassAcquisitionInfo()
 > 
 > 	acquisition.donotacquire('index_html')
This would be great.

 > and, likewise, for Acquisition.Explicit, to be able to to something
 > like:
 > 
 > class MyClass (Acquisition.Explicit):
 > 
 > 	acquisition = ClassAcquisitionInfo()
 > 
 > 	acquisition.acquire('index_html')
 > 	acquisition.acquire('fred')
You already can do that, though with a different syntax
(I would need to search for in the documentation).


Dieter