You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can we provide a object oriented wrapper to Heap's primary functions? #143326
The heapq module provides an efficient and flexible heap implementation, I would like to start a discussion about whether the standard library could benefit from an optional, lightweight object-oriented wrapper around heapq, similar to collections.deque or collections.Counter.
Activity
picnixz commentedon Jan 1, 2026
Please discuss this on https://discuss.python.org/c/ideas/6 first.
ronaldoussoren commentedon Jan 1, 2026
This issue duplicates #57951 and #62034 from years ago. The former has a draft patch for adding a Heap class.