[Zope-dev] Catalog result brains not extendable

Jay, Dylan djay@avaya.com
Sun, 29 Jul 2001 13:21:54 +1000


I'm trying to get some results from a catalog and add meta_data to it.
It seems the only way I can do this using python scripts is by turning the
each result object into a dictionary and then adding to that. This is due to
the fact that you can't do a setattr on anything using a python script. Why
not? Obviously for security reasons but surely there must be a less
restrictive alternative than a blanket ban on using attributes on classes?