mň *á¸Ec@s@dZddd!ZdklZgZdefd„ƒYZdS(skRead-only Mapping class based on MultiMapping $Id: SafeMapping.py 40218 2005-11-18 14:39:19Z andreasjung $s$Revision: 1.3 $i iţ˙˙˙(s MultiMappingt SafeMappingcBs9tZdZdZeZZd„Zd„Zd„Z RS(s3Mapping with security declarations and limited method exposure. Since it subclasses MultiMapping, this class can be used to wrap one or more mapping objects. Restricted Python code will not be able to mutate the SafeMapping or the wrapped mappings, but will be able to read any value. icCsti||ƒdS(N(t MultiMappingtpushtselftob(RR((t;/data/zmath/zope/lib/python/RestrictedPython/SafeMapping.pyt_push scGs3|otti|f|ƒSnti|ƒSdS(N(targstapplyRtpopR(RR((Rt_pop"scCs5|i|tƒ}|tjodSn d|fSdS(Nii(iN(Rtgettkeyt_markertvtNone(RR R((Rthas_get's ( t__name__t __module__t__doc__t*__allow_access_to_unprotected_subobjects__RRR RR R(((RRs    N(Rt __version__RR R(RR RRR((Rt? s