On Fri, Apr 24, 2015 at 6:01 PM, Joachim Durchholz <[email protected]> wrote:
> Am 24.04.2015 um 00:02 schrieb Jason Moore:
>>
>> That makes sense, but I'm not sure whether "Garbage in - Garbage Out"
>> should apply or whether SymPy should throw and error.
>
>
> If something is invalid, the user needs to be notified.
> General policy.
> Otherwise, if the expressions become large, the user will have difficulties
> finding out where the garbage went in.

+1, perhaps raise a ValueError('Attempt to substitute an invalid value
for symbol: %s' % s)


-- 
http://echorand.me

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CANODV3%3Dj3dXLA-MmLQxJCdntWuxhsRJrwmsjXMhuWjwfc6AVTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to