Gilles Lenfant writes:
...
obj.aq_explicit.some_attr
Many thanks, exactly what I needed !
It will not always work, only usually.
Dieter
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross
: [Zope-dev] Removing the acquisition wrapper from an
object(Python script)
Gilles Lenfant writes:
...
obj.aq_explicit.some_attr
Many thanks, exactly what I needed !
It will not always work, only usually.
Dieter
___
Zope-Dev maillist
Hi,
aq_base(someObject) doesn't work in a python script. I need to get an object without
its acquisition wrapper.
Any hint ?
Many thanks in advance
--Gilles
___
Zope-Dev maillist - [EMAIL PROTECTED]
- Original Message -
From: Toby Dickenson [EMAIL PROTECTED]
To: Gilles Lenfant [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 1:46 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)
On Thursday 01 Aug 2002 12:49 pm, Gilles
On Thursday 01 Aug 2002 2:44 pm, Gilles Lenfant wrote:
I can't understand that reason because it's also easy to strip away an
object's security settings in an untrusted python script that has a Manager
proxy. Well, I'm gonna make my 2 or 3 lines External method :(
If thats true, its a bug. a
- Original Message -
From: Toby Dickenson [EMAIL PROTECTED]
To: Gilles Lenfant [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 3:51 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script)
On Thursday 01 Aug 2002 2:44 pm, Gilles
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
To: Gilles Lenfant [EMAIL PROTECTED]
Cc: Toby Dickenson [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 6:18 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object (Python script
On Thu, 2002-08-01 at 14:38, Gilles Lenfant wrote:
[...]
Now I'm always looking for an alternate way to get rid of the acquisition wrapper
and access only the objects own props.
To access an object's own props (and get an error if it doesn't find
them instead of looking up the aq-chain) you
- Original Message -
From: Leonardo Rochael Almeida [EMAIL PROTECTED]
To: Zope Developers list [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 11:37 PM
Subject: Re: [Zope-dev] Removing the acquisition wrapper from an object(Python script)
On Thu, 2002-08-01 at 14:38, Gilles Lenfant