Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
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 pro

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Tino Wildenhain
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 pro

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
From: "Tino Wildenhain" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Friday, February 10, 2006 8:45 AM Subject: Re: [Zope] Method to return the properties of an object Jonathan schrieb: How would you "shoot" yourself? dont you t

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Tino Wildenhain
Jonathan schrieb: How would you "shoot" yourself? dont you think these methods arent accessible from ZMI code by purpose? :-) Btw, for Properties and their types there are already API methods. So no need to put holes into your site security. Regards Tino __

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
How would you "shoot" yourself? - Original Message - From: "Tino Wildenhain" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: "George" <[EMAIL PROTECTED]>; Sent: Friday, February 10, 2006 8:36 AM Subject: Re: [Zope

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Tino Wildenhain
Jonathan schrieb: You can create a small utility external method to call dir() and type() - very useful! There are easier ways to shot yourself in the foot :-) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread bruno desthuilliers
George wrote: > Is there a method to return the properties of an object? > Not sure what you're talking about... Properties as defined by the PropertySheet/PropertyManager API, or just attributes ? -- bruno desthuilliers développeur [EMAIL PROTECTED] http://www.modulix.com

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
You can create a small utility external method to call dir() and type()  - very useful!Jonathan - Original Message - From: George To: zope@zope.org Sent: Friday, February 10, 2006 8:11 AM Subject: [Zope] Method to return the properties of an object Is there a

[Zope] Method to return the properties of an object

2006-02-10 Thread George
Is there a method to return the properties of an object?Sorry if it's sth obvious! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/lis