Nava
Nava

Reputation: 6576

How to setup python 2.7 features into Python 2.6?

I am using Python 2.6 in Windows environment for my current work. But i am interested in some features which were added in Python 2.7. Is it possible to move some features(particularly "Collections.OrderedDict") from 2.7 to 2.6? If so how can we do that?

Upvotes: 1

Views: 932

Answers (1)

NPE
NPE

Reputation: 500663

Take a look at http://pypi.python.org/pypi/ordereddict

It's advertised as

A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6.

Upvotes: 5

Related Questions