Updates:
        Cc: matt...@gmail.com

Comment #6 on issue 2674 by vlada.pe...@gmail.com: Remove the cmp_to_key() helper function
http://code.google.com/p/sympy/issues/detail?id=2674

Hmmm. Mateusz did some recent work related to this so I have to redo my branch from scratch (not yet ready). Still, looking at his patch aa94e72 (deprecate Basic.compare_pretty()) it occurs to me that we cannot remove cmp_to_key as long as we have to support old ordering -- I'm not sure we can guarantee the ordering is "old" if I change the function with whatever, and we can't have Python 3 support with the cmp_to_key function. So, my question is: Could we simply not define the old ordering for Python 3 and be done with it? The reasoning being, as the old ordering was already "old" by the time we got Python 3 support, then everyone on Python 3 should be using the "new" ordering anyway. Thoughts?

Of course, maybe I'm just missing some obvious fix for this? I could just replace the relevant line with default_sort_key, but obviously that's not "old" ordering anymore. Mateusz, what do you think?

--
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.

Reply via email to