Comment #1 on issue 1982 by asmeurer: use is None instead of == None http://code.google.com/p/sympy/issues/detail?id=1982
As long as we are talking about this, I was talking with someone on IRC a while back about bugs he was having in pypy because of an "a is 1" line somewhere (cython optimizes this, so it works, but it isn't guaranteed to work in other Pythons. So I think we should always use is for None, True, False, type(a), and S.everything (because those are singletons, they should work for it), but *never* for anything else.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-iss...@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.