Comment #8 on issue 3909 by mrock...@gmail.com: Replace Mul with mul, Add with add, etc....
http://code.google.com/p/sympy/issues/detail?id=3909

If your question is

To clarify, where would the flattening logic go, in mul or Mul?

My answer is

Mul

To start I don't want to put any logic (like flatten) into mul. mul will call Mul which will call flatten.

One of the obstacles to moving forward on other Mul related issues is that Mul is used lots of places as a function that says "multiply all of these things together".

In the future if we want to reduce the scope of Mul.__new__ then it is important to replace these occasions with a new term. I suggest a function mul for that term. Because I don't yet want to change any functionality I suggest that mul simply point back to Mul for the time being.

Future discussions can then experiment with the mul function. This will be much simpler than changing each occurrence of Mul(*args) within the code.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to