Message66480
| Author | mthard |
|---|---|
| Recipients | mthard |
| Date | 2008-05-09.15:27:02 |
| SpamBayes Score | 0.20919415 |
| Marked as misclassified | No |
| Message-id | <1210346823.98.0.261501835489.issue2803@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
In the method scheduler.run in the sched module, heapq.heappush is called with single argument (event). It's a two argument function. The correct call would be heapq.heappush(q, event). This problem is probably not frequently experienced because it only occurs if the delay function modifies the queue, deleting the top entry while sched.run() is waiting to execute it. A patch is attached based on the trunk. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-05-09 15:27:05 | mthard | set | spambayes_score: 0.209194 -> 0.20919415 recipients: + mthard |
| 2008-05-09 15:27:04 | mthard | set | spambayes_score: 0.209194 -> 0.209194 messageid: <1210346823.98.0.261501835489.issue2803@psf.upfronthosting.co.za> |
| 2008-05-09 15:27:03 | mthard | link | issue2803 messages |
| 2008-05-09 15:27:02 | mthard | create | |