Re: [matplotlib-devel] Minimum python version 2.6 vs 2.7

2014-05-08 Thread Yaron de Leeuw
To avoid code duplication you can also use the pypi package https://pypi.python.org/pypi/ordereddict Yaron On 7 May 2014 18:14, Federico Ariza ariza.feder...@gmail.com wrote: Yes I know. But I don't want to pollute more than strictly necessary. There is already too much unused code around.

[matplotlib-devel] Minimum python version 2.6 vs 2.7

2014-05-07 Thread Federico Ariza
Hello Working on the MEP22 I would like to use an OrderedDict but it is only natively available from python 2.7 Are there any plans to remove 2.6 for matplotlib 1.5? If not. I will just use a list with dicts inside, not as elegant but works. Thanks Federico

Re: [matplotlib-devel] Minimum python version 2.6 vs 2.7

2014-05-07 Thread Nathaniel Smith
It is also technically possible to use a drop-in fallback implementation on older pythons, e.g.: https://github.com/pydata/patsy/blob/master/patsy/compat.py#L120 https://github.com/pydata/patsy/blob/master/patsy/compat_ordereddict.py -n On Wed, May 7, 2014 at 4:03 PM, Federico Ariza