[Python-Dev] Unhashable objects and __contains__()

Guido van Rossum guido at python.org
Sun Jun 4 00:58:15 CEST 2006


On 6/3/06, Georg Brandl <g.brandl at gmx.net> wrote:
> Collin Winter wrote:
> > Idea: what if Python's -O option caused PySequence_Contains() to
> > convert all errors into False return values?
>
> It would certainly give me an uneasy feeling if a command-line switch
> caused such a change in semantics.

I missed that. Collin must be suffering from a heat stroke. :-)

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list