Message187757
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. |
|
Date |
User |
Action |
Args |
2013-04-25 05:48:55 | allyourcode | set | recipients:
+ allyourcode, rhettinger, r.david.murray, Claymore |
2013-04-25 05:48:55 | allyourcode | set | messageid: <1366868935.18.0.868536503154.issue17794@psf.upfronthosting.co.za> |
2013-04-25 05:48:55 | allyourcode | link | issue17794 messages |
2013-04-25 05:48:54 | allyourcode | create | |
|