[issue1837] Add Queue.LifoQueue and Queue.PriorityQueue

2008-01-16 Thread Raymond Hettinger
Raymond Hettinger added the comment: See rev 60020. -- assignee: gvanrossum -> rhettinger status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ _

[issue1837] Add Queue.LifoQueue and Queue.PriorityQueue

2008-01-15 Thread Raymond Hettinger
Raymond Hettinger added the comment: Updated patch to include tests. Added file: http://bugs.python.org/file9181/more_queues.diff __ Tracker <[EMAIL PROTECTED]> __

[issue1837] Add Queue.LifoQueue and Queue.PriorityQueue

2008-01-15 Thread Raymond Hettinger
Changes by Raymond Hettinger: Removed file: http://bugs.python.org/file9179/more_queues.diff __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mail

[issue1837] Add Queue.LifoQueue and Queue.PriorityQueue

2008-01-15 Thread Raymond Hettinger
New submission from Raymond Hettinger: Rather than just documenting that this can be done, it is better to simply provide working implementations that show exactly how to subclass the Queue module. This also lets users easily select or switch between the most appropriate structure. Since API is