This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author therve
Recipients therve
Date 2008-06-06.12:37:28
SpamBayes Score 0.030984467
Marked as misclassified No
Message-id <1212755858.43.0.854603033808.issue3051@psf.upfronthosting.co.za>
In-reply-to
Content
A recent change in heapq implements it in terms of less-than:
http://svn.python.org/view/python/trunk/Modules/_heapqmodule.c?rev=63827&r1=63675&r2=63827

Unfortunately, it breaks usage of heapq when a class only implements
__le__ and not __ge__ or __cmp__. This is done this way in Twisted:
http://twistedmatrix.com/trac/browser/trunk/twisted/internet/base.py#L159.

If not mandatory, it would be nice if this change was reverted or that a
backward compatible change was done instead.
History
Date User Action Args
2008-06-06 12:37:45thervesetspambayes_score: 0.0309845 -> 0.030984467
recipients: + therve
2008-06-06 12:37:38thervesetspambayes_score: 0.0309845 -> 0.0309845
messageid: <1212755858.43.0.854603033808.issue3051@psf.upfronthosting.co.za>
2008-06-06 12:37:36thervelinkissue3051 messages
2008-06-06 12:37:32thervecreate