Comment #2 on issue 2433 by asmeurer: Polys module function poly() needs gens argument
http://code.google.com/p/sympy/issues/detail?id=2433

I think the gens kwarg should do it, i.e.,

In [7]: Poly(x*y, gens=[x])
Out[7]: Poly(y*x, x, domain='ZZ[y]')

But poly() should have a *gens anyway.

For your idea, how about adding a default_gens option to polyoptions that is used as the generator if none can be inferred, but otherwise all inferred ones are used.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@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