I think the logic you want isn't implemented. Right now, the
assumptions module doesn't really do anything with interval type
assumptions, like 0 < x < 1. It only knows about assumptions like
positive or negative.
Of course, if all you want to do is sort symbols by their exponent,
that is not too difficult to do, especially if you know for sure that
each element of your list is a power of that symbol. You just need to
define an appropriate key function and use it when sorting.
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
sympy+un...@googlegroups.com.
> To post to this group, send email to
sy...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/sympy.
> For more options, visit
https://groups.google.com/groups/opt_out.