Comment #5 on issue 1915 by asmeurer: Unify make_list with as_Add/as_Mul
http://code.google.com/p/sympy/issues/detail?id=1915

I think the purpose of make_list and as_Add is so that instead of having to write:

if expr.is_Add:
    addstuff = list(expr.args)
else:
    addstuff = [expr]

you just have to write the one-liner:

expr.as_Add()

or

make_list(expr, Add)

so having an exception would completely defeat the purpose here.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to