Author allyourcode
Recipients Claymore, allyourcode, r.david.murray, rhettinger
Date 2013-04-25.05:48:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366868935.18.0.868536503154.issue17794@psf.upfronthosting.co.za>
In-reply-to
Content
from the peanut gallery:

This looks right to me; you are seeing that PriorityQueue is trying to compare dicts, because that's how tuple comparison works: it is lexicographic. Since the first element of the two tuples that you are trying to insert have the same value, comparison of the two tuple reduces to comparing the second elements.

Your work around also looks good to me.
History
Date User Action Args
2013-04-25 05:48:55allyourcodesetrecipients: + allyourcode, rhettinger, r.david.murray, Claymore
2013-04-25 05:48:55allyourcodesetmessageid: <1366868935.18.0.868536503154.issue17794@psf.upfronthosting.co.za>
2013-04-25 05:48:55allyourcodelinkissue17794 messages
2013-04-25 05:48:54allyourcodecreate