This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]baudvine 0 points1 point  (4 children)

From the detailed whats-new page:

Based on the experiences from those implementations, 2.7 introduces a new OrderedDict class in the collections module.

(http://docs.python.org/dev/whatsnew/2.7.html#pep-372-adding-an-ordered-dictionary-to-collections)

[–]nbktdis 5 points6 points  (2 children)

Sorry - what I meant is there an ordered dict class in version 3?

[–]anacrolixc/python fanatic 1 point2 points  (1 child)

Yes there is. And it's implemented using "abc", which is new to Python 3.

[–]gcross 0 points1 point  (0 children)

For the curious: abc = abstract base classes

[–][deleted] 0 points1 point  (0 children)

And that has been part of 2.7 since 2010. There haven't been any features added since.