This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author metal
Recipients LeWiemann, dtorp, mark.dickinson, metal, rhettinger, tixxit
Date 2010-03-31.19:14:28
SpamBayes Score 7.243235e-08
Marked as misclassified No
Message-id <1270062869.6.0.708972006076.issue1771@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry I ripped the code from a mess and I forget the tree is "leaflized" as

tree = {
  'A': set(['B', 'C', 'D', 'E']),
  'B': set(['D', 'E']), 
  'C': set(),
  'D': set(),
  'E': set(),
}

I don't want to talk about the actual problem. I think sometime 
it's hard to give an "absolute" weight value as key, for this example,
is the relationship in graph. Then user have to "Copy and paste the recipe" to get a cmp function which should be already there. We are
all adults here, why don't SIMPLELY tell the newbie don't use cmp() use key() unless you know what you are doing.


Thanks for reply.
History
Date User Action Args
2010-03-31 19:14:29metalsetrecipients: + metal, rhettinger, mark.dickinson, dtorp, LeWiemann, tixxit
2010-03-31 19:14:29metalsetmessageid: <1270062869.6.0.708972006076.issue1771@psf.upfronthosting.co.za>
2010-03-31 19:14:28metallinkissue1771 messages
2010-03-31 19:14:28metalcreate