Serhiy Storchaka added the comment:

>From my multilingual experience I can say that priority queue is very rarely 
>used type of collections (but if it needed it is very usefull). On one hand, 
>Python stdlib already contains one such type, and this type will be good 
>enough in non-performance-critical applications. On other hand, a non-locked 
>implementation using heapq is trivial (just encapsulate a list inside a 
>class), no one will implement it wrong (if do not over-complicate the 
>interface). I don't see the need for yet one priority queue. The presence of 
>two very similar types in the stdlib will lead to confusion.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17834>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to