Georg Brandl <ge...@python.org> added the comment:

Well, usually what you want *is* a boolean indicating whether the element is in 
the collection or not.

Being able to overload "in", mostly for metaprogramming purposes, is a request 
that probably nobody thought of when implementing "in".

----------
nosy: +benjamin.peterson, pitrou -docs@python
versions:  -Python 3.2

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

Reply via email to