[issue3051] heapq change breaking compatibility

Jean-Paul Calderone report at bugs.python.org
Wed Jun 11 15:19:49 CEST 2008


Jean-Paul Calderone <exarkun at divmod.com> added the comment:

I tried this too and then wrote a couple unit tests for this.  The one
for the Python implementation which tests the case where only __le__ is
defined fails, though.

Diff attached.

----------
keywords: +patch
Added file: http://bugs.python.org/file10582/test_heapq.diff

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


More information about the Python-bugs-list mailing list