[Zope] building a revisitable object list???
Evan Simpson
evan@digicool.com
Sun, 13 Feb 2000 23:20:46 -0600
----- Original Message -----
From: Tres Seaver <tseaver@palladion.com>
> That 'leaves.update(..}' is a really ugly workaround to the fact that
> PythonMethods won't allow the "natural" dictionary manipulation: 'leaves[
> leaf.id ] = leaf'. While I understand not wanting to allow key
replacement in
> "global" dictionaries, can we lose this restriction for "local" ones?
Yes we can, provided you code carefully. See my PROPOSAL: in Zope-dev a few
weeks ago.
> (OTOH, we
> need to look at potential security issues around the use of update(),
too).
Too true. Any exposed list or dict needs a sharp examination.
Cheers,
Evan @ digicool