Raymond Hettinger added the comment:

While this hasn't proven to be an issue to date (non-reflexive objects don't 
arise much in practice), the proposed change would make it easier to use the 
Sequence ABC to create classes that are interoperable with other sequences and 
that have the clean invariant, "anything added to the sequence will be "in" the 
sequence".

That said, I don't know if this is really needed.

----------
keywords: +patch
nosy: +rhettinger
priority: normal -> low
type:  -> behavior
Added file: http://bugs.python.org/file37596/sequence_identity.diff

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

Reply via email to