[Zope-dev] Class attr hotfix

Casey Duncan casey_duncan@yahoo.com
Fri, 2 Mar 2001 07:18:10 -0800 (PST)


I noticed that the most recent hotfix completely
denies access to the getClassAttr, setClassAttr and
delClassAttr from DTML. Is this going to be the
behavior for future Zope versions?

I know this will break code, so it might be prudent to
alert people when the fix is rolled into the next Zope
release.

I would like to argue for deprecating these functions
in favor of making the ZClass act like a dictionary so
that:

ZClass.set('name',value)
ZClass.get('name'[,inherit])
ZClass['name']

could be called securely from scripts. I would be
willing to write the code for this if you think it
would be a good idea.

=====
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`----------------->

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/