Alec Munro wrote:
I have a situation where I would like to use objects as dictionary
keys. These objects are normally security proxied, so I assume
removeSecurityProxy is required?

If you make security declarations such that the proxied objects are usable then it should work without removing the security proxy. Without trying it, making __eq__ and __hash__ accessible should do the trick.
Benji York
Senior Software Engineer
Zope Corporation
Zope3-users mailing list

Reply via email to