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 serhiy.storchaka
Recipients ncoghlan, serhiy.storchaka
Date 2012-10-31.15:46:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351698364.18.0.877660319675.issue16373@psf.upfronthosting.co.za>
In-reply-to
Content
The core of the problem is in Set.

import collections.abc
class S(collections.abc.Set):
    def __contains__(self, key): return False
    def __iter__(self): return iter(())
    def __len__(self): return 0

S() < set() is False.
set() < S() fails.
History
Date User Action Args
2012-10-31 15:46:04serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan
2012-10-31 15:46:04serhiy.storchakasetmessageid: <1351698364.18.0.877660319675.issue16373@psf.upfronthosting.co.za>
2012-10-31 15:46:04serhiy.storchakalinkissue16373 messages
2012-10-31 15:46:04serhiy.storchakacreate