[Python-Dev] Unhashable objects and __contains__()

Georg Brandl g.brandl at gmx.net
Sun Jun 4 23:05:09 CEST 2006


Collin Winter wrote:
> 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 ; )

I can confirm that, unfortunately.
The best thing you can say about our weather at the moment is that
the winter is relatively mild :(

> The more likely culprit is a lack of coffee this morning and a bit
 > too much weissbier last night.

I'd blame it on the coffee.

Georg



More information about the Python-Dev mailing list