What's New In Python 3.1 (http://docs.python.org/dev/py3k/whatsnew/3.1.html) 一部だけメモ。Python 3.1b1でテスト。 Ordered Dictionaries 順序付き辞書が追加された。 >>> from collections import OrderedDict >>> od = OrderedDict() >>> od['a'] = 1 >>> od['b'] = 2 >>> od['c'] = 3 >>> od.items() ItemsView(OrderedDict([('a', 1), ('b', 2), ('c', 3)])) >>> >>> d = {} >>> d['a'] = 1 >>> d['b'] = 2 >>> d['c'] = 3 >>> d.items() dict_ite