Author gvanrossum
Recipients Arfrever, Jim.Jewett, eric.araujo, eric.snow, georg.brandl, giampaolo.rodola, gvanrossum, michael.foord, pitrou, poq, r.david.murray, rhettinger, skrah, vstinner
Date 2012-03-29.18:45:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAP7+vJLKhYJ6HPYaGnA7zrD+vKFaNZMSKUn3zMNBLDozesuC_A@mail.gmail.com>
In-reply-to <1333021950.86.0.90353592993.issue14386@psf.upfronthosting.co.za>
Content
I'd like to bikeshed a little on the name. I think it should be
MappingProxy. (We don't use "view" much but the place where we do use
it, for keys/values/items views, is very different I think. Also
collections.abc already defines MappingView as the base class for
KeysView and friends.)

Also make sure there's no way for someone who has access to the proxy
to get to the underlying mapping; preventing that access is the
explicit purpose of the original dict_proxy type. You might even add a
comment to this effect to the code, so someone doesn't accidentally
add it in the future. Perhaps in the proxy_methods structure or in the
type structure just before tp_members.
History
Date User Action Args
2012-03-29 18:45:21gvanrossumsetrecipients: + gvanrossum, georg.brandl, rhettinger, pitrou, vstinner, giampaolo.rodola, eric.araujo, Arfrever, r.david.murray, michael.foord, skrah, eric.snow, poq, Jim.Jewett
2012-03-29 18:45:19gvanrossumlinkissue14386 messages
2012-03-29 18:45:19gvanrossumcreate