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 the same, the learning curve is near zero.
If accepted, will add a full set of tests. ---------- assignee: gvanrossum components: Library (Lib) files: more_queues.diff keywords: patch messages: 59984 nosy: gvanrossum, rhettinger severity: normal status: open title: Add Queue.LifoQueue and Queue.PriorityQueue type: rfe versions: Python 2.6 Added file: http://bugs.python.org/file9179/more_queues.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1837> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com