This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients cool-RR, rhettinger
Date 2014-07-14.10:12:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405332752.99.0.939028968383.issue21978@psf.upfronthosting.co.za>
In-reply-to
Content
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())
History
Date User Action Args
2014-07-14 10:12:33rhettingersetrecipients: + rhettinger, cool-RR
2014-07-14 10:12:32rhettingersetmessageid: <1405332752.99.0.939028968383.issue21978@psf.upfronthosting.co.za>
2014-07-14 10:12:32rhettingerlinkissue21978 messages
2014-07-14 10:12:32rhettingercreate