Comment 2 for bug 521023

Revision history for this message
tbnorth (terry-n-brown) wrote : Re: [Bug 521023] [NEW] help-for-command doesn't work in Python 3.x

On Fri, 12 Feb 2010 16:04:18 -0000
"Edward K. Ream" <email address hidden> wrote:

> > help-for-command uses sort(cmp), support for comp went away in 3.x,
> > because key is better.
>
> Thanks for this report. I'll fix it immediately and add a unit test.
>
> This looks like case that 2to3 missed.

I haven't touched help-for-command, but I did just push a cmp free version of leoCommands.py ... sortSiblings to until-4-7-final, FYI. I think the only non-core users of sortSiblings are todo.py and cleo.py, which use it to sort tasks by priority. They're also cmp free in until-4-7-final

Cheers -Terry