Message187723
heapq already provides a bunch of functions for manipulating lists that preserve (or create) a heap invariant. My change adds two classes for representing heaps. These classes ensure that operations that violate the heap invariant are not possible (through the public interface). The also allow customization via subclassing. |
|
Date |
User |
Action |
Args |
2013-04-24 18:52:33 | allyourcode | set | recipients:
+ allyourcode |
2013-04-24 18:52:33 | allyourcode | set | messageid: <1366829553.37.0.470727650744.issue17834@psf.upfronthosting.co.za> |
2013-04-24 18:52:33 | allyourcode | link | issue17834 messages |
2013-04-24 18:52:32 | allyourcode | create | |
|