Steve Holden <steve <at> holdenweb.com> writes: > > That's true, but the same *could* be said about the existing > optimizations for objects that define their own __contains__.
No, because there is no such thing as __not_contains__. Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com