Try this in a PythonScript:

d = {1:2}
for t in d.iteritems():
  pass

Annoyingly, it raises Unauthorized: You are not allowed to access 'a
particular tuple' in this context

Is there a reason for this, or is it just part of
AccessControl/RestrictedPython that hasn't been fleshed out yet?

-- 
Jamie Heilman                     http://audible.transient.net/~jamie/
"I was in love once -- a Sinclair ZX-81.  People said, "No, Holly,
 she's not for you." She was cheap, she was stupid and she wouldn't
 load -- well, not for me, anyway."                     -Holly

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to