Peter Bengtsson wrote at 2005-6-30 13:36 +0100:
> ...
>External methods. You might even want to have a general debugging
>script lying around that you can use to exploit dir() and type() and
>__class__.__name__ from your zope.
>Bare in mind that there's a security reason why these aren't available
gabor wrote at 2005-6-30 13:48 +0200:
>while working with zope, i many times have the following problem:
>
>i find a method that i can use, and the documentation (for example) says:
>"returns the current user".
>
>ok, but what kind of object is it?
>what methods does it have?
>
>usually i would sim
gabor wrote:
> hi,
>
> while working with zope, i many times have the following problem:
>
> i find a method that i can use, and the documentation (for example) says:
> "returns the current user".
>
> ok, but what kind of object is it?
> what methods does it have?
>
> usually i would simply call
See: http://epydoc.sourceforge.net/ (which I have not yet used).
Andreas Jung wrote:
--On 30. Juni 2005 13:48:19 +0200 gabor <[EMAIL PROTECTED]> wrote:
generally.. if i have a reference to an object.
how do i find out what his methods are?
By determining its class or meta_type and then by c
>
> usually i would simply call dir() or type() on the result object,
> but those are forbidden in zope.
>
> how do you usually solve this?
>
External methods. You might even want to have a general debugging
script lying around that you can use to exploit dir() and type() and
__class__.__name__
--On 30. Juni 2005 14:04:14 +0200 gabor <[EMAIL PROTECTED]> wrote:
Andreas Jung wrote:
--On 30. Juni 2005 13:48:19 +0200 gabor <[EMAIL PROTECTED]> wrote:
hi,
while working with zope, i many times have the following problem:
i find a method that i can use, and the documentation (for exam
- Original Message -
From: "gabor" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 30, 2005 7:48 AM
Subject: [Zope] how to get info about an object (dir/type)
while working with zope, i many times have the following problem:
i find a method that i can use, and the do
Andreas Jung wrote:
--On 30. Juni 2005 13:48:19 +0200 gabor <[EMAIL PROTECTED]> wrote:
hi,
while working with zope, i many times have the following problem:
i find a method that i can use, and the documentation (for example) says:
"returns the current user".
ok, but what kind of object is
--On 30. Juni 2005 13:48:19 +0200 gabor <[EMAIL PROTECTED]> wrote:
hi,
while working with zope, i many times have the following problem:
i find a method that i can use, and the documentation (for example) says:
"returns the current user".
ok, but what kind of object is it?
what methods does
hi,
while working with zope, i many times have the following problem:
i find a method that i can use, and the documentation (for example) says:
"returns the current user".
ok, but what kind of object is it?
what methods does it have?
usually i would simply call dir() or type() on the result ob
10 matches
Mail list logo