This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add Queue.LifoQueue and Queue.PriorityQueue
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 2.6
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: gvanrossum, rhettinger
Priority: normal Keywords: patch

Created on 2008-01-15 23:46 by rhettinger, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
more_queues.diff rhettinger, 2008-01-16 00:13 Patch with code, tests, and docs.
Messages (3)
msg59984 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-01-15 23:46
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.
msg59987 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-01-16 00:13
Updated patch to include tests.
msg60008 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2008-01-16 23:42
See rev 60020.
History
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46159
2008-01-16 23:42:14rhettingersetstatus: open -> closed
assignee: gvanrossum -> rhettinger
messages: + msg60008
2008-01-16 00:13:44rhettingersetfiles: + more_queues.diff
messages: + msg59987
2008-01-16 00:12:47rhettingersetfiles: - more_queues.diff
2008-01-15 23:46:08rhettingercreate