[Zope] Method to return the properties of an object

Jonathan dev101 at magma.ca
Fri Feb 10 09:18:40 EST 2006


> Jonathan schrieb:
>> The idea of using an external method for dir/type is simply to allow a 
>> developer to quickly investigate attributes/methods of objects - if you 
>> are silly enough to actually incorporate this mechanism into 'production' 
>> code then you should shoot yourself.
>>
>
> And how did you protect your external methods? :-)

We develop on an internal server (no public/outside access), so security for 
developer utilities is not an issue.


> Btw: Hint - as developer, start a 2nd ZEO client via
>             zopectl debug and use dir, type, help()
>             interactively on your object tree :-)

Good hint!




More information about the Zope mailing list