Raymond Hettinger added the comment:

I'm not sure this would make sense given that the ordered dict itself isn't 
indexable, given that keys/values/items on regular dicts aren't indexable, and 
given that keys/items views are set-like rather than sequence-like.

The one obvious way to get sequence behavior is to build a list:

   s = list(od)
   s = list(od.values())
   s = list(od.items())

----------
assignee:  -> rhettinger
nosy: +rhettinger
priority: normal -> low
type:  -> enhancement

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

Reply via email to