Issue 1196 in sympy: improve our examples

2008-11-21 Thread codesite-noreply
Comment #13 on issue 1196 by ondrej.certik: improve our examples http://code.google.com/p/sympy/issues/detail?id=1196 Let's also fix these: pidigits.py py24/25 Traceback (most recent call last): File H:\pure_pylib\math\sympy\examples\pidigits.py, line 71, in ?

Issue 1211 in sympy: Getting a value of a function does not work or is not possible

2008-11-21 Thread codesite-noreply
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1211 by plaes800: Getting a value of a function does not work or is not possible http://code.google.com/p/sympy/issues/detail?id=1211 In [1]: f = x**2 In [2]: type(f) Out[2]: class 'sympy.core.power.Pow'# I would

Issue 1211 in sympy: Getting a value of a function does not work or is not possible

2008-11-21 Thread codesite-noreply
Comment #1 on issue 1211 by plaes800: Getting a value of a function does not work or is not possible http://code.google.com/p/sympy/issues/detail?id=1211 --- a/sympy/core/basic.py +++ b/sympy/core/basic.py @@ -1934,6 +1934,7 @@ class Basic(AssumeMeths): #XXX fix the removeme def

[PATCH] move all py.test imports into try/except clause (#1210)

2008-11-21 Thread Ondrej Certik
This is important, because the new py.test breaks sympy (import py works, but not the later imports). This patch should fix it. --- sympy/utilities/pytest.py |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/sympy/utilities/pytest.py b/sympy/utilities/pytest.py

Re: Implicit subs syntax like f(x=1, y=2)

2008-11-21 Thread Brian Granger
Ahhh, I didn't realize this problem was there. I don't like this behavior. And I don't like that we need to use a hack to fix it. Me neither, playing with the frames is messy stuff I think it's because we are misusing the **kw arguments. The kw arguments are meant to specify options to

Re: Implicit subs syntax like f(x=1, y=2)

2008-11-21 Thread Brian Granger
2) only allow the f(x=3), but do not use the hack, thus it will not work for x = Symbol(a) But this...will confuse users. I often use variable names that differ from the symbol. 3) allow both f(x=3) and use the hack. The hack is...well, a hack so this isn't very appealing. On Fri, Nov 21,

Re: Patch is an added function Gaussian Integral in Integrals.py, to solve the definite integral of exp(poly).

2008-11-21 Thread Pekeika
Hi Ondrej, In [34]: g.match(a*exp(b))[a] Out[34]: 0.886226925452758 In [35]: g.match(a*exp(b))[b] Out[35]:                                                                2   2.25   1.50⋅vy   0.250⋅vy - + ─── -

[sympy] Re: 0.6.3 cannot import name Outcome on py24/25

2008-11-21 Thread Ondrej Certik
On Fri, Nov 21, 2008 at 3:19 AM, Oyster [EMAIL PROTECTED] wrote: it is so strange, I have installed py lib 0.9.2, but [code] from py.__.test.outcome import * dir() ['EXIT_INTERNALERROR', 'EXIT_INTERRUPTED', 'EXIT_NOHOSTS', 'EXIT_OK', 'EXIT_TESTSFAILED', 'ExceptionFailure', 'Exit',

[sympy] Re: bugs in examples

2008-11-21 Thread Ondrej Certik
Hi Oyster! thanks for all the bug reports! On Fri, Nov 21, 2008 at 3:39 AM, Oyster [EMAIL PROTECTED] wrote: all of them is under examples directory gibbs_phenomenon.py py24 x-value of the maximum: -0.0314159265359 Traceback (most recent call last): File

[sympy] Re: bsd vs lgpl -- decision

2008-11-21 Thread Kirill Smelkov
On Wed, Nov 19, 2008 at 01:55:25AM +0100, Ondrej Certik wrote: On Tue, Nov 18, 2008 at 11:32 PM, Jim Jewett [EMAIL PROTECTED] wrote: [Just a bit of history; I am explicitly abstaining on which license is best.] On Tue, Nov 18, 2008 at 4:19 PM, Kirill Smelkov [EMAIL PROTECTED]

[sympy] Thanks to all of you!!!

2008-11-21 Thread Kirill Smelkov
On Mon, Nov 17, 2008 at 02:15:22PM +0100, Abderrahim KITOUNI wrote: Hi everyone, it's been a long time, I was following the project but didn't have time to contribute. 2008/11/16 Riccardo Gori [EMAIL PROTECTED]: On Sunday 16 November 2008 15:02:44 Kirill Smelkov wrote: [...] Guys,