Re: Issue 2098 in sympy: solve(x**2+1,x) does not check if x is real.

2011-06-22 Thread sympy
Comment #10 on issue 2098 by nicolas@gmail.com: solve(x**2+1,x) does not check if x is real. http://code.google.com/p/sympy/issues/detail?id=2098 But I suppose ask(Q.integer(Symbol('n', integer=True))) will eventually work, once assumptions will be unified ? Or will Symbol('n', intege

Re: Issue 2098 in sympy: solve(x**2+1,x) does not check if x is real.

2011-06-22 Thread sympy
Comment #11 on issue 2098 by asmeurer: solve(x**2+1,x) does not check if x is real. http://code.google.com/p/sympy/issues/detail?id=2098 It's unclear at the moment. See https://github.com/sympy/sympy/wiki/assumptions. I'd like to keep that syntax, though, if possible. -- You received

Re: Issue 1887 in sympy: Separate boolean and symbolic relationals

2011-06-22 Thread sympy
Comment #5 on issue 1887 by nicolas@gmail.com: Separate boolean and symbolic relationals http://code.google.com/p/sympy/issues/detail?id=1887 "I'm not sure which one would be called Eq and which Eqn". IMO, Eq would best fit for a boolean (standing for "equality"), while Eqn would be a

Re: Issue 1887 in sympy: Separate boolean and symbolic relationals

2011-06-22 Thread sympy
Comment #6 on issue 1887 by asmeurer: Separate boolean and symbolic relationals http://code.google.com/p/sympy/issues/detail?id=1887 The only problem with this is that Eq() is presently used for equations, so it would break compatibility. What would you suggest naming the inequality funct

Re: Issue 1932 in sympy: Relationals do not work with any methods of Expr

2011-06-22 Thread sympy
Comment #12 on issue 1932 by nicolas@gmail.com: Relationals do not work with any methods of Expr http://code.google.com/p/sympy/issues/detail?id=1932 I think adding two inequalities or differentiate them could be done without much pain using a Eq.as_expr() method, since Eq(a, b) can alw

Re: Issue 2294 in sympy: Remove .is_finite assumption

2011-06-22 Thread sympy
Comment #5 on issue 2294 by nicolas@gmail.com: Remove .is_finite assumption http://code.google.com/p/sympy/issues/detail?id=2294 +1 for removing this, or at least renaming it. Current S.Zero.is_finite is extremely confusing, *even if well documented*. If really needed, maybe a .is_finit

Re: Issue 2098 in sympy: solve(x**2+1,x) does not check if x is real.

2011-06-22 Thread sympy
Comment #12 on issue 2098 by nicolas@gmail.com: solve(x**2+1,x) does not check if x is real. http://code.google.com/p/sympy/issues/detail?id=2098 OK. Old assumption system have a nice API, so it would be nice to keep it as a front-end if possible. -- You received this message because

Re: Issue 2509 in sympy: integrals failure in master

2011-06-22 Thread sympy
Comment #4 on issue 2509 by lazov...@gmail.com: integrals failure in master http://code.google.com/p/sympy/issues/detail?id=2509 I do think there's an issue here that the args of the Mul, If I don't explicitly sort them, are sorted differently on different systems, because this passes on my

Re: Issue 1887 in sympy: Separate boolean and symbolic relationals

2011-06-22 Thread sympy
Comment #7 on issue 1887 by nicolas@gmail.com: Separate boolean and symbolic relationals http://code.google.com/p/sympy/issues/detail?id=1887 Mmmm... that's not obvious. First, concerning (symbolic) equations, I successively concidered: 1. Using Ineqn: --- I thought about ha

Re: Issue 1456 in sympy: use pyflakes to identify simple bugs in sympy and fix them

2011-06-22 Thread sympy
Comment #4 on issue 1456 by krastano...@gmail.com: use pyflakes to identify simple bugs in sympy and fix them http://code.google.com/p/sympy/issues/detail?id=1456 PyLint seems like a better choice according to http://stackoverflow.com/questions/1428872/pylint-pychecker-or-apyflakes -- You

Issue 2512 in sympy: integrate(x * delta(2*x)) fails

2011-06-22 Thread sympy
Status: Accepted Owner: mrock...@gmail.com Labels: Type-Defect Priority-Medium New issue 2512 by mrock...@gmail.com: integrate(x * delta(2*x)) fails http://code.google.com/p/sympy/issues/detail?id=2512 $ bin/isympy integrate(x*deltafunctions.DiracDelta(2*x)) IndexError: list index out of rang

Re: Issue 1932 in sympy: Relationals do not work with any methods of Expr

2011-06-22 Thread sympy
Comment #13 on issue 1932 by asmeurer: Relationals do not work with any methods of Expr http://code.google.com/p/sympy/issues/detail?id=1932 Changing it to Eq(a - b, 0) defeats the whole purpose of having an equality object, which is that you want to keep a left-hand side separate from a

Re: Issue 2509 in sympy: integrals failure in master

2011-06-22 Thread sympy
Comment #5 on issue 2509 by asmeurer: integrals failure in master http://code.google.com/p/sympy/issues/detail?id=2509 from sympy.utilities.misc import default_sort_key args.sort(key=default_sort_key) This will canonically sort the args in a platform independent way. -- You received this messa

Re: Issue 1887 in sympy: Separate boolean and symbolic relationals

2011-06-22 Thread sympy
Comment #8 on issue 1887 by asmeurer: Separate boolean and symbolic relationals http://code.google.com/p/sympy/issues/detail?id=1887 See comment 3 above. I think >, <, >=, and <= should default to the symbolic version, but perhaps they could be automatically converted to the boolean vers

Re: Issue 1456 in sympy: use pyflakes to identify simple bugs in sympy and fix them

2011-06-22 Thread sympy
Comment #5 on issue 1456 by asmeurer: use pyflakes to identify simple bugs in sympy and fix them http://code.google.com/p/sympy/issues/detail?id=1456 If I remember correctly, pylint can be customized, right? Because I remember that it complained about a bunch of stuff that (in my opinion

Issue 2513 in sympy: Create a SymPyDeprecationWarning for deprecated SymPy behavior

2011-06-22 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Enhancement Priority-Medium New issue 2513 by asmeurer: Create a SymPyDeprecationWarning for deprecated SymPy behavior http://code.google.com/p/sympy/issues/detail?id=2513 DeprecationWarning is turned off by default in Python 2.7, so all of our

Re: Issue 2513 in sympy: Create a SymPyDeprecationWarning for deprecated SymPy behavior

2011-06-22 Thread sympy
Issue 2513: Create a SymPyDeprecationWarning for deprecated SymPy behavior http://code.google.com/p/sympy/issues/detail?id=2513 This issue is now blocking issue 2142. See http://code.google.com/p/sympy/issues/detail?id=2142 -- You received this message because you are listed in the owner or CC f

Re: Issue 2142 in sympy: Turn on deprecation warnings in isympy

2011-06-22 Thread sympy
Updates: Blockedon: 2513 Comment #1 on issue 2142 by asmeurer: Turn on deprecation warnings in isympy http://code.google.com/p/sympy/issues/detail?id=2142 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups "sympy-issue

Re: Issue 2370 in sympy: Create a warning_raises() function for testing warnings

2011-06-22 Thread sympy
Comment #1 on issue 2370 by asmeurer: Create a warning_raises() function for testing warnings http://code.google.com/p/sympy/issues/detail?id=2370 Issue 2513 might make this easier (I don't know). -- You received this message because you are subscribed to the Google Groups "sympy-issues" gr

Re: Issue 2492 in sympy: Better way to test warnings

2011-06-22 Thread sympy
Comment #1 on issue 2492 by asmeurer: Better way to test warnings http://code.google.com/p/sympy/issues/detail?id=2492 Issue 2513 might make this easier. It isn't clear, how it would, though, since it seems to be impossible to make warnings be emitted more than once. It would be nice if we

Re: Issue 2492 in sympy: Better way to test warnings

2011-06-22 Thread sympy
Issue 2492: Better way to test warnings http://code.google.com/p/sympy/issues/detail?id=2492 This issue is now blocking issue 2370. See http://code.google.com/p/sympy/issues/detail?id=2370 -- You received this message because you are listed in the owner or CC fields of this issue, or because you

Re: Issue 2370 in sympy: Create a warning_raises() function for testing warnings

2011-06-22 Thread sympy
Updates: Blockedon: 2492 Comment #2 on issue 2370 by asmeurer: Create a warning_raises() function for testing warnings http://code.google.com/p/sympy/issues/detail?id=2370 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google