Aaron S. Meurer wrote:
> On May 22, 2011, at 9:50 AM, Chris Smith wrote:
> 
>> Ronan Lamy wrote:
>>> Le dimanche 22 mai 2011 à 14:38 +0545, Chris Smith a écrit :
>>>> 
>>>>        I think that sets make more sense, too, but it's useful to
>>>>        have the
>>>>        variables in the output, and dicts are the easiest way to
>>>>        handle them.
>>>>        What about using sets of frozen dicts? Frozen dicts aren't
>>>>        builtins
>>>>        but there are simple free implementations (I just adapted
>>>>        one from
>>>>        http://code.activestate.com/recipes/414283/), that work in
>>>>        all python
>>>>        versions. They can easily be converted to/from dicts and
>>>>        subs should
>>>>        be able to use them directly.
...

> -1.  Even without guessing, referencing the solutions by the symbol
> makes things easier to read and to reference programmatically.  It's
> much easier to say sol[x] than to figure out what position x was in
> and call sol[i].   

Well...then you can't have sets until the frozendict is implemented, so if you 
want sets then someone's gotta give the green light to the request above and be 
willing to push the commit.

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

Reply via email to