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

2002-08-02 Thread Dieter Maurer
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

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

2002-08-02 Thread Adrian Hungate
: [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

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

2002-08-01 Thread Gilles Lenfant
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]

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

2002-08-01 Thread Gilles Lenfant
- 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

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

2002-08-01 Thread Toby Dickenson
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

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

2002-08-01 Thread Gilles Lenfant
- 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

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

2002-08-01 Thread Gilles Lenfant
- 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

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

2002-08-01 Thread Leonardo Rochael Almeida
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

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

2002-08-01 Thread Gilles Lenfant
- 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