[issue1837] Add Queue.LifoQueue and Queue.PriorityQueue
Raymond Hettinger
report at bugs.python.org
Wed Jan 16 00:46:10 CET 2008
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 <report at bugs.python.org>
<http://bugs.python.org/issue1837>
__________________________________
More information about the Python-bugs-list
mailing list