2011/10/14 Aaron Meurer <asmeu...@gmail.com>: > I didn't look into it, but my guess is that the log is only expanded > if the expansion hints are hit on the expression in a particular > order. Unfortunately, we still have in Expr.expand: > > for hint, use_hint in hints.iteritems(): > <expand> > > where hints is a dictionary of the hints. But the order of > dict.iteritems() is *completely* arbitrary, and as far as I know isn't > even guaranteed to be the same for the exact same dictionary within > the same session. > And I had the same problem with unrad. Pehaps we need the equivalent of 'sorted' that can be used easily. I am still a little confused about which key to use (default_sort_key, Basic.compare, etc...). That way, when something from an unordered iterable is processed, it can quickly be made canonical.
-- 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.