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 gsnedders
Recipients docs@python, gsnedders, rhettinger
Date 2019-06-03.21:35:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559597729.08.0.293471881106.issue37145@roundup.psfhosted.org>
In-reply-to
Content
How do you use ItemsView without:

 * relying on __init__ and _mapping, which are both private implementation details, or
 * reimplementing __len__, __contains__, and __iter__?

Given you can't use the mixin implementations of __len__, __contains__, and __iter__ without relying on private implementation details, should they actually be considered mixin implementations? Shouldn't they just be abstract methods given you can't actually use them?
History
Date User Action Args
2019-06-03 21:35:29gsnedderssetrecipients: + gsnedders, rhettinger, docs@python
2019-06-03 21:35:29gsnedderssetmessageid: <1559597729.08.0.293471881106.issue37145@roundup.psfhosted.org>
2019-06-03 21:35:29gsnedderslinkissue37145 messages
2019-06-03 21:35:29gsnedderscreate