ti., 17.08.2010 kl. 01.14 -0600, skrev Aaron S. Meurer:
> Well, here's the problem with the spaceless option:
> 
> >>> var('ab cd ef')
> (ab, cd, ef)
> >>> var('ab cd')
> (ab, cd)
> >>> var('ab')
> (a, b)

This one has bitten me many times.  It would be great to make it more
consistent.

Øyvind

> 
> So definitely symbols() should not do each_char by default.
> 
> On Aug 17, 2010, at 12:44 AM, smichr wrote:
> 
> > Mateusz has made changes in polys11 to make symbols behave like var; I
> > have submitted a patch 1919 on Vinzent's suggestion in the same issue
> > to make var behave like symbols. Which way should it go?
> > 
> > var('abc') -> injects abc or a, b, c?
> > 
> > I personally like to be able to quickly make a few variables so prefer
> > the spaceless option. Of course with Mateusz's change you can still
> > type var(list('abc')) but then you are gettting away from the
> > painlessness of it.
> 
> Remember that var() is strictly for use in the interpreter.  In that case, 
> you can also do 
> 
> from sympy.abc import *
> 
> which is also pretty easy to type, and gets everything for you.  
> 
> Aaron Meurer
> 

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

Reply via email to