Status: New Owner: Vinzent.Steinberg CC: ondrej.certik Labels: Type-Defect Priority-Medium
New issue 1742 by Vinzent.Steinberg: how to implement functions for sympy http://code.google.com/p/sympy/issues/detail?id=1742 From doc/src/guide.txt: [...] if isinstance(arg, Basic.NaN): return S.NaN if isinstance(arg, Basic.Zero): return S.Zero [...] I have several questions: Why using isinstance()? Why mixing S.Zero and Basic.Zero? Why not using if arg is S.NaN: ... ? -- 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.