![](https://secure.gravatar.com/avatar/5615a372d9866f203a22b2c437527bbb.jpg?s=120&d=mm&r=g)
Feb. 19, 2020
1:24 a.m.
On Tue, Feb 18, 2020 at 11:47:16AM -0800, Ethan Furman wrote:
Whatever `dict.items()` returns, both for consistency and because `dict.items()` can become a simple alias for `dict.__items__`.
That means that every object wanting to make use of this protocol needs to create a complex set-like view object, which is neither easy nor obvious, and may not even be appropriate for some classes. -- Steven