This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2020-06-06.17:21:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1591464079.86.0.471509652953.issue40890@roundup.psfhosted.org>
In-reply-to
Content
Dict views wrap an underlying mapping but don't expose that mapping as an attribute.

Traditionally, we do expose wrapped objects:  property() exposes fget,  partial() exposes func, bound methods expose __func__, ChainMap() exposes maps, etc.

Exposing this attribute would help with introspection, making it possible to write efficient functions that operate on dict views.
History
Date User Action Args
2020-06-06 17:21:19rhettingersetrecipients: + rhettinger
2020-06-06 17:21:19rhettingersetmessageid: <1591464079.86.0.471509652953.issue40890@roundup.psfhosted.org>
2020-06-06 17:21:19rhettingerlinkissue40890 messages
2020-06-06 17:21:19rhettingercreate