Message344480
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? |
|
Date |
User |
Action |
Args |
2019-06-03 21:35:29 | gsnedders | set | recipients:
+ gsnedders, rhettinger, docs@python |
2019-06-03 21:35:29 | gsnedders | set | messageid: <1559597729.08.0.293471881106.issue37145@roundup.psfhosted.org> |
2019-06-03 21:35:29 | gsnedders | link | issue37145 messages |
2019-06-03 21:35:29 | gsnedders | create | |
|