Ismo Toijala <ismo.toij...@gmail.com> added the comment:

My reason for using OrderedDict was that the normal dict is not reversible. I 
needed to get the last element added, so I ended up doing something like 
next(reversed(ordered_dict)).

Perhaps this would be something to add to the normal dict (for 3.8?). Then I 
could migrate away from OrderedDict.

Shall I open a new issue for this?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35341>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to