Ah. Now, see? Having the right vocabulary helps. Searching for "priority queue" brings up this discussion from back in January:
http://groups.google.com/group/comp.lang.python/browse_frm/thread/b69aeced28634898 Now, this discussion refers to a PriorityPool class which doesn't appear to be a standard part of Python (2.6, anyway). But I'm not the first one to ask the question, and there's code out there. -- http://mail.python.org/mailman/listinfo/python-list