Hello, In #1395 we have started the discussion about how expand applies hints and, mainly, about the fact that, eventually, the hints are actually applied a number of times.
I tried to find a thread on this topic, failed, and decided it would be good to have one. Chris said [0]: I tried a total rewrite of expand with hints which is very different from what is being done here. So as far as how to sort the keywords I don't have advice past the suggestion that you do the more dependent ones last. Does the docstring have something to say about that -- something about doing power_base before power_exp? Chris, I couldn't find any mention about the order of these hints in the docstring. Does anyone have anything to say about why hints are actually applied multiple times? I know, the best way is to read the code, but, if someone has at least a bit of that information in their mind... :-) Sergiu [0] https://github.com/sympy/sympy/pull/1395#discussion_r1164777 -- 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.
