
July 1, 2020
7:10 a.m.
On 01/07/2020 11:24, Steven D'Aprano wrote:
On Tue, Jun 30, 2020 at 07:40:23PM +0100, Rhodri James wrote:
Don't get me wrong, if it's not going to cause performance issues I think being able to index views would be great
What are your use-cases for indexing set-like views of a dict?
Personally none, but that's because I still don't treat dicts as being ordered and arrange my data structures accordingly. I seem to remember the OP having a use case, and I can imagine people who have ordering ingrained in their style rather harder than me could find uses. -- Rhodri James *-* Kynesim Ltd