Re: Issue 2012 in sympy: rewrite should also be a function

2011-03-17 Thread sympy
Updates: Labels: -EasyToFix Comment #4 on issue 2012 by ronan.l...@gmail.com: rewrite should also be a function http://code.google.com/p/sympy/issues/detail?id=2012 The fundamental problem here is that individual modules get imported into the top-level sympy namespace: from

Re: Issue 2012 in sympy: rewrite should also be a function

2011-03-17 Thread sympy
Updates: Blockedon: 2133 Comment #5 on issue 2012 by asmeurer: rewrite should also be a function http://code.google.com/p/sympy/issues/detail?id=2012 Do you know how to fix it? Will defining __all__ somewhere do it? Actually, this is a separate issue from making rewrite a function, so

Issue 2012 in sympy: rewrite should also be a function

2010-08-07 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Enhancement Priority-Medium EasyToFix New issue 2012 by asmeurer: rewrite should also be a function http://code.google.com/p/sympy/issues/detail?id=2012 Basically, I think [2] should also work. In [1]: sin(x).rewrite(tan) ⎛x⎞ 2⋅tan⎜─⎟