Comment #5 on issue 1467 by fab...@fseoane.net: sorting values with imaginary numbers in radical http://code.google.com/p/sympy/issues/detail?id=1467
Patch is nice and makes sense. I don't like however that we are resorting to __nonzero__ when ordering should be done in __cmp__, but I couldn't find a better fix. It seems that cmp is resorting to __nonzero__ before calling __cmp__, which is strange, but could be. Ted, please submit a patch with tests (and repeat the fix in StrictInequality) and I'll be glad to push it in. -- 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-issues@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 -~----------~----~----~----~------~----~------~--~---