Comment #8 on issue 1717 by ronan.l...@gmail.com: inconsistency between  
facts
http://code.google.com/p/sympy/issues/detail?id=1717

The difference does matter if there's a non-trivial .__eq__() (NB: it's not  
the case
here). For instance:
In [1]: a = Symbol('a')
In [2]: %timeit a == None
10000 loops, best of 3: 30.3 us per loop
In [3]: %timeit a is None
10000000 loops, best of 3: 150 ns per loop

Back on track: I've uploaded a patch for issue 1723 that contains a fix for  
this one.
It's basically the same as smichr's patch - it seems actually quite  
difficult to
prevent None values to enter new_facts as I suggested in #3.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--

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.


Reply via email to