Raymond Hettinger added the comment:
Python core containers support the invariant:
assert all(x in c for x in c)
See also:
http://bertrandmeyer.com/2010/02/06/reflexivity-and-other-pillars-of-civilization/
----------
assignee: -> rhettinger
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue21873>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com