[sympy] Re: error raising

2009-06-07 Thread Ondrej Certik
On Sun, Jun 7, 2009 at 3:55 PM, smichr wrote: > > Is there a philosophy for raising errors that guides the sympy > development? > > e.g. I passed an expression that couldn't be made into a polynomial to > roots and roots handled that step for me...but didn't check to see if > it succeeded or not s

[sympy] Re: error raising

2009-06-08 Thread smichr
On Jun 8, 5:50 am, Ondrej Certik wrote: > > I agree that some deep backtrace is confusing, especially if it's > something that the users do frequently. > > Could you please paste here the exact output, so that we can discuss > some particular example? > ### >>> from sympy import * >>> x=var('x'

[sympy] Re: error raising

2009-06-08 Thread Ondrej Certik
On Mon, Jun 8, 2009 at 8:45 AM, smichr wrote: > > > > On Jun 8, 5:50 am, Ondrej Certik wrote: >> >> I agree that some deep backtrace is confusing, especially if it's >> something that the users do frequently. >> >> Could you please paste here the exact output, so that we can discuss >> some parti