[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Checked-in in rev 60024. -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Will add a method that returns an ordered list of events. -- type: behavior -> rfe versions: +Python 2.6 -Python 2.5 __ Tracker <[EMAIL PROTECTED]> __

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Guido van Rossum
Guido van Rossum added the comment: Sure. -- priority: -> low __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe:

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Patrick Bureau
Patrick Bureau added the comment: Indeed, the queue is not directly exposed by a method, but the information is nonetheless interesting for monitoring the content. If it's not a bug, then maybe this could be changed to a feature request for a new method to retrieve the queue's events. __

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Guido van Rossum
Guido van Rossum added the comment: Looking at that change more, the queue is now maintained as a heapq. Perhaps the queue member is for internal use only? __ Tracker <[EMAIL PROTECTED]> __ __

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Guido van Rossum
Guido van Rossum added the comment: Raymond touched it last. :-) Perhaps r38041 is to blame? -- assignee: -> rhettinger nosy: +gvanrossum, rhettinger __ Tracker <[EMAIL PROTECTED]> __ __

[issue1861] sched scheduler.queue class member is unordered

2008-01-17 Thread Patrick Bureau
New submission from Patrick Bureau: In Python 2.4, retrieving sched's scheduler.queue class member would return a time ordered list of events as expected. Since Python 2.5, the same operation retrieves a list of unordered scheduled events. This makes it difficult to know which events are really