Daniel Stutzbach <dan...@stutzbachenterprises.com> added the comment:

I should add:

I discovered the inconsistency while working on my sortedset class, which 
provides the same interface as set() but is also indexable like a list (e.g., 
S[0] always returns the minimum element, S[-1] returns the maximum element, 
etc.).

sortedset derives from collections.MutableSet, but it's challenging to 
precisely emulate set() when collections.MutableSet and set() don't work the 
same way. ;-)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8743>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to