Skip to main content
5 events
when toggle format what by license comment
Feb 11, 2011 at 14:30 vote accept Xavier Nodet
Feb 2, 2011 at 20:00 comment added Xavier Nodet Thanks! SO question is here: stackoverflow.com/q/4879228/4177
Feb 2, 2011 at 18:24 comment added Fred Nurk @XavierNodet: Anything which can be compared by a cmp parameter can be converted (even if tediously) to a key by simply wrapping it. With my use of the "due_date" attribute, I'm making some assumptions on how compare_by_due_date works, but if you give the code for compare_by_due_date (possibly in a SO question?), I'll try my hand at writing a key replacement for it.
Feb 2, 2011 at 18:20 comment added Xavier Nodet Thanks for the tip about list comprehension! As compare_by_due_date specifically handles null values for the due date, I'm not sure I can use a key. But I'll find out!
Feb 2, 2011 at 11:44 history answered Fred Nurk CC BY-SA 2.5