[Zope-dev] Removing the acquisition wrapper from an object (Python script)

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 1 Aug 2002 12:46:31 +0100


On Thursday 01 Aug 2002 12:49 pm, Gilles Lenfant wrote:
> Hi,
>
> aq_base(someObject) doesn't work in a python script. I need to get an
> object without its acquisition wrapper.

It cant be done in untrusted code, because it would let you strip away it=
s=20
security settings.

You could write an external method, or similar trusted code.