On Mon, Jul 2, 2012 at 12:38 AM, Joachim Durchholz <[email protected]> wrote:
> Am 01.07.2012 21:56, schrieb Chris Smith:
>
>>>> a) Yes, use native dicts as much as possible. Trying to improve over a
>>>> core
>>>> data structure that's getting unlimited love from the language team
>>>> doesn't
>>>> sound like a winning idea to me :-)
>>>
>>>
>>> Yes, this is the main point in Python.
>>>
>>>> b) Keep the sorted list of keys in a separate member variable.
>>
>>
>> Are you aware that there is now an ordered dictionary in python? It
>> was backported to 2.7.3, I believe.
>
>
> To use that, we'd have to deprecate support for Python 2.5 and 2.6 first.

Take a look at two latest E-mails in this thread :-) There are
implementations of ordered dicts for younger Pythons than 2.7, which
are compatible with OrderedDict.

Sergiu

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to