[issue27290] Turn heaps library into a more OOP data structure?

James Lu report at bugs.python.org
Fri Jun 10 20:12:44 EDT 2016


James Lu added the comment:

Even a wrapper class would be helpful, it's simply more pythonic.

On Fri, Jun 10, 2016 at 6:02 PM, Raymond Hettinger <report at bugs.python.org>
wrote:

>
> Raymond Hettinger added the comment:
>
> The main reason is that there would be very little benefit.  Lists are a
> very efficient data structure and the heap manipulations are also very
> cheap.
>
> ----------
> assignee:  -> rhettinger
> nosy: +rhettinger
> resolution:  -> rejected
> status: open -> closed
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue27290>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27290>
_______________________________________


More information about the Python-bugs-list mailing list