On Thu, Aug 6, 2009 at 3:15 PM, Aaron S. Meurer<[email protected]> wrote: > > > On Aug 6, 2009, at 3:08 PM, Vinzent Steinberg wrote: > >> >> On 6 Aug., 21:35, "Aaron S. Meurer" <[email protected]> wrote: >>> Yes, you should avoid using the names I, E, S, N, C, or O (uppercase >>> only) for Symbols because they are predefined by SymPy. >>> Seehttp://docs.sympy.org/gotchas.html#id2 >> >> The new assumptions system (yet to be released) also uses Q. >> >>> By the way, you can use the mnemonic COSINE to remember these. >> >> Nice one! But it will be significantly harder to find another mnemonic >> with a Q. :) > I actually owe that one to Chris Smith (see issue 1552). We need to > add a U function. That gives us at least QUNICE SO > (http://wordsmith.org/anagram/anagram.cgi?anagram=cosinequ&t=1000&a=n > ). :-) > > By the way, whenever I get around to it (like when I am finished with > this ODE stuff), I will send in a patch adding Q to the gotchas.txt > file. I didn't know about the Q addition.
Just mention there that this is just a namespace problem. In fact, for me this is never a problem, because I don't use from sympy import * and I discourage anyone to use it. Just do: form sympy import I, whatever, you, need and use it. Then there can't be any problems. Ondrej --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---
