[Python-Dev] Unhashable objects and __contains__()

Collin Winter collinw at gmail.com
Sun Jun 4 22:25:54 CEST 2006

On 6/4/06, Guido van Rossum <guido at python.org> wrote:
> 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. :-)

I don't think Munich gets hot enough for heat stroke ; ) The more
likely culprit is a lack of coffee this morning and a bit too much
weissbier last night.

Consider the idea eagerly withdrawn.

Collin Winter

More information about the Python-Dev mailing list