On Fri, Jul 31, 2020 at 10:31 AM Guido van Rossum <gu...@python.org> wrote:

> So maybe we need to add dict.ordered() which returns a view on the items
> that is a Sequence rather than a set? Or ordereditems(), orderedkeys() and
> orderedvalues()?
>
>
I for one would be +1 on this idea.

On the bike shed hew: oitems(), okeys(), and ovalues() would be much
shorter, and shouldn't be too difficult to read once they get established
(though i am sure many will differ on this point).

---
Ricky.

"I've never met a Kentucky man who wasn't either thinking about going home
or actually going home." - Happy Chandler
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/MFTAXYRLJS354GLUYRKLGT5L7X3KUMUY/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to