id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 3964 SortedDict string representation not in order of keys forest@… Jacob "This is more-or-less a problem with Python's dict implementation, IMO. It's really nothing more than a convenience thing, but for SortedDict, repr(d) doesn't indicate the proper key order. It seems that the standard dict.repr does not iterate over the dict like I would expect it to. Attached is a patch that re-implements __repr__ using an iterator over the object. Thus, SortedDict's are displayed properly in the Python shell. " closed Uncategorized dev fixed SortedDict __repr__ repr Ready for checkin 1 0 1 0 0 0